From c35342df5971c3cbc39dbbce8a60c294a777af08 Mon Sep 17 00:00:00 2001 From: James Collins Date: Mon, 8 May 2023 19:18:27 +1000 Subject: [PATCH] fix active watch --- 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 0f38095..6536760 100644 --- a/resources/js/components/SMInput.vue +++ b/resources/js/components/SMInput.vue @@ -316,7 +316,7 @@ watch( } active.value = - newValue.length > 0 || + newValue.toString().length > 0 || newValue instanceof File || focused.value == true; }