packages/components/src/Input/ChooseInputWithPicker.vue
@@ -18,11 +18,13 @@ enumValueKey?: string; valueEnum?: ValueEnum; modelValue: string | number; disabled?: boolean; }; const props = withDefaults(defineProps<Props>(), { enumLabelKey: 'label', enumValueKey: 'value', disabled: false, }); const emit = defineEmits<{ @@ -38,6 +40,9 @@ ); function handleOpen() { if (props.disabled) { return; } const _modelValue = [props.modelValue]; Portal.add((key) => { return h(