flowbite-vue
flowbite-vue copied to clipboard
FWBInput does not support v-model.number
Hi - I'm using flowbite-vue with typescript. Whenever I use a variable that I want as a number, the v-model complains that
node_modules/flowbite-vue/dist/components/FwbInput/FwbInput.vue.d.ts:67:5
67 modelValue: string;
~~~~~~~~~~
The expected type comes from property 'modelValue' which is declared here on type 'Partial<{ type: InputType; label: string; disabled: boolean; size: InputSize; modelValue: string; required: boolean; validationStatus: ValidationStatus; }> & Omit<...> & Record<...>'
````
forcing me to use string instead. Any fix for this?