diff --git a/resources/js/components/SMInput.vue b/resources/js/components/SMInput.vue index 7020d71..9383be1 100644 --- a/resources/js/components/SMInput.vue +++ b/resources/js/components/SMInput.vue @@ -176,6 +176,8 @@ if (objControl) { label.value = toTitleCase(props.control); } + inputActive.value = value.value.length > 0; + watch( () => objControl.validation.result.valid, (newValue) => {