diff --git a/src/components/DialogForm.vue b/src/components/DialogForm.vue index 2d8e7abb..510a18ab 100644 --- a/src/components/DialogForm.vue +++ b/src/components/DialogForm.vue @@ -45,7 +45,7 @@ const currentTab = defineModel('currentTab'); :model-value="modal" @update:model-value="(v) => (modal = beforeClose ? beforeClose() : v)" @before-show="show" - @hide="hideCloseEvent !== undefined && hideCloseEvent ? '' : close" + @hide="hideCloseEvent !== undefined && hideCloseEvent ? '' : close?.()" >
[]; optionLabel?: string; optionValue?: string; + placeholder?: string; + hideSelected?: boolean; readonly?: boolean; clearable?: boolean; incremental?: boolean; + fillInput?: boolean; rules?: ((value: string) => string | true)[]; }>(), - { option: () => [], optionLabel: 'label', optionValue: 'value' }, + { + option: () => [], + optionLabel: 'label', + optionValue: 'value', + hideSelected: true, + fillInput: true, + }, ); defineEmits<{ @@ -53,14 +62,15 @@ watch(