Skip to content

Commit

Permalink
Merge pull request #843 from learningequality/rtibbles-patch-2
Browse files Browse the repository at this point in the history
Restore value watcher to update selection
  • Loading branch information
AlexVelezLl authored Nov 26, 2024
2 parents a97fbc7 + 067839d commit d4d1e81
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 d4d1e81

Please sign in to comment.