From 3651c7ec4135a05061b5aa613fa62867c2e0602f Mon Sep 17 00:00:00 2001 From: Benjamin Canac Date: Wed, 17 Apr 2024 11:57:43 +0200 Subject: [PATCH] fix(Input): wrong type for `type` prop --- src/runtime/components/Input.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/runtime/components/Input.vue b/src/runtime/components/Input.vue index 11b6b70e..26633bee 100644 --- a/src/runtime/components/Input.vue +++ b/src/runtime/components/Input.vue @@ -63,7 +63,7 @@ const { isLeading, isTrailing, leadingIconName, trailingIconName } = useComponen // const size = computed(() => sizeButtonGroup.value || sizeFormGroup.value) const ui = computed(() => tv({ extend: input, slots: props.ui })({ - type: props.type, + type: props.type as InputVariants['type'], color: color.value, variant: props.variant, size: size?.value,