Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

FWBInput does not support v-model.number #273

Open
cristiano-matchday opened this issue Mar 2, 2024 · 0 comments
Open

FWBInput does not support v-model.number #273

cristiano-matchday opened this issue Mar 2, 2024 · 0 comments

Comments

@cristiano-matchday
Copy link

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?
alfatta added a commit to alfatta/flowbite-vue that referenced this issue Oct 2, 2024
pull bot pushed a commit to cogor/flowbite-vue that referenced this issue Dec 7, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant