diff --git a/resources/js/components/SMInput.vue b/resources/js/components/SMInput.vue index a023c14..b77c4a5 100644 --- a/resources/js/components/SMInput.vue +++ b/resources/js/components/SMInput.vue @@ -187,7 +187,7 @@ if (objControl) { label.value = toTitleCase(props.control); } - inputActive.value = value.value.length > 0 || props.type == "select"; + inputActive.value = value.value?.length > 0 || props.type == "select"; watch( () => objControl.validation.result.valid,