allow null value in Text field
This commit is contained in:
parent
d1c18f4e76
commit
b6d4f3d1cb
|
@ -20,7 +20,7 @@ const emit = defineEmits(['update:modelValue']);
|
|||
const props = defineProps({
|
||||
modelValue: {
|
||||
required: true,
|
||||
validator: (value) => typeof value === 'string',
|
||||
validator: (value) => value === null || typeof value === 'string',
|
||||
},
|
||||
field: {
|
||||
required: true,
|
||||
|
|
Loading…
Reference in New Issue