feat: The form collection 'multiple-choice box' supports custom input (#4218)
parent
6f1c83d287
commit
c9a614cad0
|
|
@ -3,6 +3,7 @@
|
||||||
class="m-2"
|
class="m-2"
|
||||||
multiple
|
multiple
|
||||||
filterable
|
filterable
|
||||||
|
allow-create
|
||||||
clearable
|
clearable
|
||||||
v-bind="$attrs"
|
v-bind="$attrs"
|
||||||
v-model="_modelValue"
|
v-model="_modelValue"
|
||||||
|
|
@ -43,7 +44,7 @@ const _modelValue = computed({
|
||||||
},
|
},
|
||||||
set($event) {
|
set($event) {
|
||||||
emit('update:modelValue', $event)
|
emit('update:modelValue', $event)
|
||||||
}
|
},
|
||||||
})
|
})
|
||||||
const textField = computed(() => {
|
const textField = computed(() => {
|
||||||
return props.formField.text_field ? props.formField.text_field : 'key'
|
return props.formField.text_field ? props.formField.text_field : 'key'
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue