Skip to content

Nuxt UI - UInput Type Number - weird behaviour with decimals #1722

@KazTheCreator

Description

@KazTheCreator

Description

Hey!
Im using an UInput type number and encountered something strange.
It is not possible to write the number "1.04" or "0.06". The culprit seems to be the "0" after the ".".
Further example of working decimal: "1.14", 1.56"
It works fine if you use "," as a comma but my mobile phones number keyboard only provides ".".

The same behvaiour can be tested here:
https://ui.nuxt.com/components/input

Im using Mac and Chrome to test.

Let me know what you think! :)

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions