We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents d8aa84c + 40c2c63 commit 197aeb5Copy full SHA for 197aeb5
src/components/FwbInput/FwbInput.vue
@@ -57,7 +57,6 @@ interface InputProps {
57
inputClass?: string | Record<string, boolean>
58
label?: string
59
labelClass?: string | Record<string, boolean>
60
- modelValue?: string | number
61
required?: boolean
62
size?: InputSize
63
type?: InputType
@@ -76,15 +75,14 @@ const props = withDefaults(defineProps<InputProps>(), {
76
75
inputClass: '',
77
label: '',
78
labelClass: '',
79
- modelValue: '',
80
required: false,
81
size: 'md',
82
type: 'text',
83
validationStatus: undefined,
84
wrapperClass: '',
85
})
86
87
-const model = defineModel({ type: String })
+const model = defineModel<string | number>({ default: '' })
88
89
const {
90
wrapperClass,
0 commit comments