Skip to content

Commit

Permalink
wip: Missing onChange event when auto selecting an option in KSelectF…
Browse files Browse the repository at this point in the history
…ield (#965)
  • Loading branch information
cnouguier committed Oct 29, 2024
1 parent f2bc8f3 commit 7b5cdb8
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion core/client/components/form/KSelectField.vue
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,8 @@ export default {
handler (opts) {
if (_.isEmpty(this.filter) && opts.length === 1 && this.required) {
this.$nextTick(() => {
this.model = opts[0].value
this.fill(opts[0].value)
this.onChanged(opts[0].value)
})
}
}
Expand Down
2 changes: 1 addition & 1 deletion scripts/kash
Submodule kash updated 3 files
+12 −0 CHANGELOG.md
+2 −0 README.md
+34 −32 kash.sh

0 comments on commit 7b5cdb8

Please sign in to comment.