From fa0cae16b6c52d78cbec12d63a6157ae7a70fc3f Mon Sep 17 00:00:00 2001 From: parasSolanki Date: Fri, 29 Dec 2023 20:24:46 +0530 Subject: [PATCH 1/5] fix: default input props not reactive --- apps/www/src/lib/registry/default/ui/input/Input.vue | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) diff --git a/apps/www/src/lib/registry/default/ui/input/Input.vue b/apps/www/src/lib/registry/default/ui/input/Input.vue index 78c8cd1d8..f00522cd0 100644 --- a/apps/www/src/lib/registry/default/ui/input/Input.vue +++ b/apps/www/src/lib/registry/default/ui/input/Input.vue @@ -1,5 +1,5 @@ From 8cbb7899f99d4287abc7ec21185c8a5b848c594a Mon Sep 17 00:00:00 2001 From: parasSolanki Date: Fri, 29 Dec 2023 20:26:31 +0530 Subject: [PATCH 2/5] fix: new-york input props are not reactive --- .../www/src/lib/registry/new-york/ui/input/Input.vue | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) diff --git a/apps/www/src/lib/registry/new-york/ui/input/Input.vue b/apps/www/src/lib/registry/new-york/ui/input/Input.vue index 1903e0951..f8087c25c 100644 --- a/apps/www/src/lib/registry/new-york/ui/input/Input.vue +++ b/apps/www/src/lib/registry/new-york/ui/input/Input.vue @@ -1,5 +1,5 @@ From f544e03ffc19236cccdf96d141a7880c6373ff2a Mon Sep 17 00:00:00 2001 From: parasSolanki Date: Tue, 2 Jan 2024 18:52:36 +0530 Subject: [PATCH 3/5] fix: default input not reactive added class prop --- .../www/src/lib/registry/default/ui/input/Input.vue | 13 +++---------- 1 file changed, 3 insertions(+), 10 deletions(-) diff --git a/apps/www/src/lib/registry/default/ui/input/Input.vue b/apps/www/src/lib/registry/default/ui/input/Input.vue index f00522cd0..0e39fae8b 100644 --- a/apps/www/src/lib/registry/default/ui/input/Input.vue +++ b/apps/www/src/lib/registry/default/ui/input/Input.vue @@ -1,5 +1,5 @@ From 3b12a0a29f09b0f577c68242238ffe0dc9202edc Mon Sep 17 00:00:00 2001 From: parasSolanki Date: Tue, 2 Jan 2024 18:54:12 +0530 Subject: [PATCH 4/5] fix: new-york input not reactive added class prop --- .../src/lib/registry/new-york/ui/input/Input.vue | 13 +++---------- 1 file changed, 3 insertions(+), 10 deletions(-) diff --git a/apps/www/src/lib/registry/new-york/ui/input/Input.vue b/apps/www/src/lib/registry/new-york/ui/input/Input.vue index f8087c25c..c8cc9358c 100644 --- a/apps/www/src/lib/registry/new-york/ui/input/Input.vue +++ b/apps/www/src/lib/registry/new-york/ui/input/Input.vue @@ -1,5 +1,5 @@ From 1c2422099dc7472e4fe0bc7b51f432eb740363cf Mon Sep 17 00:00:00 2001 From: Sadegh Barati Date: Wed, 3 Jan 2024 00:04:40 +0330 Subject: [PATCH 5/5] fix: update --- apps/www/src/lib/registry/default/ui/input/Input.vue | 6 +----- apps/www/src/lib/registry/new-york/ui/input/Input.vue | 6 +----- 2 files changed, 2 insertions(+), 10 deletions(-) diff --git a/apps/www/src/lib/registry/default/ui/input/Input.vue b/apps/www/src/lib/registry/default/ui/input/Input.vue index 0e39fae8b..fdaa54ebd 100644 --- a/apps/www/src/lib/registry/default/ui/input/Input.vue +++ b/apps/www/src/lib/registry/default/ui/input/Input.vue @@ -3,10 +3,6 @@ import type { HTMLAttributes } from 'vue' import { useVModel } from '@vueuse/core' import { cn } from '@/lib/utils' -defineOptions({ - inheritAttrs: false, -}) - const props = defineProps<{ defaultValue?: string | number modelValue?: string | number @@ -24,5 +20,5 @@ const modelValue = useVModel(props, 'modelValue', emits, { diff --git a/apps/www/src/lib/registry/new-york/ui/input/Input.vue b/apps/www/src/lib/registry/new-york/ui/input/Input.vue index c8cc9358c..a0e7654eb 100644 --- a/apps/www/src/lib/registry/new-york/ui/input/Input.vue +++ b/apps/www/src/lib/registry/new-york/ui/input/Input.vue @@ -3,10 +3,6 @@ import type { HTMLAttributes } from 'vue' import { useVModel } from '@vueuse/core' import { cn } from '@/lib/utils' -defineOptions({ - inheritAttrs: false, -}) - const props = defineProps<{ defaultValue?: string | number modelValue?: string | number @@ -24,5 +20,5 @@ const modelValue = useVModel(props, 'modelValue', emits, {