feat: The form collection 'multiple-choice box' supports custom input (#4218)

This commit is contained in:
shaohuzhang1 2025-10-20 10:57:39 +08:00 committed by GitHub
parent 6f1c83d287
commit c9a614cad0
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -3,6 +3,7 @@
class="m-2"
multiple
filterable
allow-create
clearable
v-bind="$attrs"
v-model="_modelValue"
@ -43,7 +44,7 @@ const _modelValue = computed({
},
set($event) {
emit('update:modelValue', $event)
}
},
})
const textField = computed(() => {
return props.formField.text_field ? props.formField.text_field : 'key'