mirror of
https://github.com/t8y2/dbx.git
synced 2026-11-01 08:26:35 +00:00
fix: use AcceptableValue type for Select update handler
The Select component's @update:model-value callback expects AcceptableValue (string | number | null), not string.
This commit is contained in:
@@ -422,7 +422,7 @@ watch(open, (value) => {
|
||||
v-else-if="indexTypeOptions.length > 0"
|
||||
:model-value="index.indexType || 'BTREE'"
|
||||
:disabled="index.markedForDrop"
|
||||
@update:model-value="(v: string) => index.indexType = v"
|
||||
@update:model-value="(v: any) => index.indexType = String(v ?? '')"
|
||||
>
|
||||
<SelectTrigger class="h-7 font-mono text-xs">
|
||||
<SelectValue />
|
||||
|
||||
Reference in New Issue
Block a user