Skip to content

b-form-input type="number" not allowing to enter decimals(.) on Firefox #2000

@soichih

Description

@soichih

I have a number field on my form

<b-form-input type="number" v-model.number="param.default" mousewheel.native="$event.preventDefault()"/>

I used to be able to enter decimals like "3.5" or "10.0", etc.. but it stopped working recently. I've confirmed that the same issue exists on the bootstrap-vue website - under "Type number:" section (https://bootstrap-vue.js.org/docs/components/form-input/)

Strangely, I can still enter a decimal if I type it elsewhere, and copy / paste into the form field. b-form-input seems to be preventing me from entering "." character.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions