diff --git a/apps/www/src/lib/registry/default/ui/pin-input/PinInput.vue b/apps/www/src/lib/registry/default/ui/pin-input/PinInput.vue index 9a5edb97..a79c3af5 100644 --- a/apps/www/src/lib/registry/default/ui/pin-input/PinInput.vue +++ b/apps/www/src/lib/registry/default/ui/pin-input/PinInput.vue @@ -3,7 +3,9 @@ import { type HTMLAttributes, computed } from 'vue' import { PinInputRoot, type PinInputRootEmits, type PinInputRootProps, useForwardPropsEmits } from 'radix-vue' import { cn } from '@/lib/utils' -const props = defineProps() +const props = withDefaults(defineProps(), { + modelValue: () => [], +}) const emits = defineEmits() const delegatedProps = computed(() => { diff --git a/apps/www/src/lib/registry/new-york/ui/pin-input/PinInput.vue b/apps/www/src/lib/registry/new-york/ui/pin-input/PinInput.vue index 9a5edb97..a79c3af5 100644 --- a/apps/www/src/lib/registry/new-york/ui/pin-input/PinInput.vue +++ b/apps/www/src/lib/registry/new-york/ui/pin-input/PinInput.vue @@ -3,7 +3,9 @@ import { type HTMLAttributes, computed } from 'vue' import { PinInputRoot, type PinInputRootEmits, type PinInputRootProps, useForwardPropsEmits } from 'radix-vue' import { cn } from '@/lib/utils' -const props = defineProps() +const props = withDefaults(defineProps(), { + modelValue: () => [], +}) const emits = defineEmits() const delegatedProps = computed(() => {