Skip to content

Commit

Permalink
fix: minor fix
Browse files Browse the repository at this point in the history
  • Loading branch information
portikM committed Oct 17, 2024
1 parent 3657ecc commit 11336e6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/KSelect/KSelect.vue
Original file line number Diff line number Diff line change
Expand Up @@ -400,7 +400,7 @@ const value = computed({
get(): string | number | null {
return props.modelValue
},
set(newValue: string | number): void {
set(newValue: string | number | null): void {
const item = selectItems.value?.filter((item: SelectItem) => item.value === newValue)
if (item?.length) {
handleItemSelect(item[0])
Expand Down

0 comments on commit 11336e6

Please sign in to comment.