From a8181ff2b73bcabb7bc94b032bae5c1973dc9551 Mon Sep 17 00:00:00 2001 From: James Collins Date: Mon, 8 May 2023 19:09:53 +1000 Subject: [PATCH] fix static active --- resources/js/components/SMInput.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/resources/js/components/SMInput.vue b/resources/js/components/SMInput.vue index c73dfc4..9476b47 100644 --- a/resources/js/components/SMInput.vue +++ b/resources/js/components/SMInput.vue @@ -304,7 +304,7 @@ const id = ref( : generateRandomElementId() ); const feedbackInvalid = ref(props.feedbackInvalid); -const active = ref(value.value?.length ?? 0 > 0); +const active = ref(value.value?.toString().length ?? 0 > 0); const focused = ref(false); const disabled = ref(props.disabled);