Skip to content

Form-input type number not working properly #2061

@esron

Description

@esron

Comparing the input type number of Bootstrap 4 whit the one from BootstrapVue i found some diferences:

When the input parses to a float as NaN the input is emptied and you loose the values.

I tested on Firefox and Chrome. Windows and Linux Mint.

I've made a JsFiddle comparing the two tipes of inputs.

I've tried my best to find where the input value is parsed to a float, but apparently is even before the input event.

https://jsfiddle.net/esron/kf3t4bvq/19/

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