diff --git a/resources/js/components/form/Text.vue b/resources/js/components/form/Text.vue index 47635bcd..a25a6ea0 100644 --- a/resources/js/components/form/Text.vue +++ b/resources/js/components/form/Text.vue @@ -113,7 +113,7 @@ const props = defineProps({ default: () => '', }, modelValue: { - type: String, + validator: (v) => typeof v === 'string' || v === null, required: true, }, label: {