Skip to content

Commit

Permalink
fix: fixing dropdown updates
Browse files Browse the repository at this point in the history
  • Loading branch information
paulushcgcj committed Jun 29, 2023
1 parent 7d96400 commit 26376cc
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions frontend/src/components/forms/DropdownInputComponent.vue
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
<template>
<bx-dropdown
:id="id"
:value="selectedValue"
:label-text="label"
:helper-text="tip"
Expand Down Expand Up @@ -84,8 +85,10 @@ const validateInput = (newValue: any) => {
}
watch(
() => props.modelValue,
() => (selectedValue.value = props.initialValue)
() => {
selectedValue.value = ''
setTimeout(() => (selectedValue.value = props.initialValue), 400)
}
)
//validateInput(selectedValue.value)
</script>

0 comments on commit 26376cc

Please sign in to comment.