Skip to content

Commit

Permalink
Restore value watcher to update selection
Browse files Browse the repository at this point in the history
  • Loading branch information
rtibbles authored Nov 26, 2024
1 parent a97fbc7 commit 067839d
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions lib/KSelect/index.vue
Original file line number Diff line number Diff line change
Expand Up @@ -492,6 +492,9 @@
},
watch: {
value(inputValue) {
this.selection = inputValue;
},
filteredOptions() {
this.highlightedOption = this.filteredOptions[0];
resetScroll(this.$refs.optionsList);
Expand Down

0 comments on commit 067839d

Please sign in to comment.