fix static active

This commit is contained in:
2023-05-08 19:09:53 +10:00
parent e42c4c3023
commit a8181ff2b7

View File

@@ -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);