Skip to content

[Bug]: number inputs will not accept decimals #230

Description

@jhmonroe

Summary

example... if a button hover state has 0.8 it will not let me type a period in this box.
it will let me paste in "0.8" from my notepad but will not let me type it out in the box
it will only accept whole numbers.
in my example this is under effects.

thanks!

Image

Steps to reproduce

example... if a button hover state has 0.8 it will not let me type a period in this box.
it will let me paste in "0.8" from my notepad but will not let me type it out in the box
it will only accept whole numbers.

PS: upon closer inspection this is a text input so still not sure why it won't accept decimals

PPS: I'm assuming your plan is eventually to have up/down arrows in these boxes or have them be affected by up/down arrow keys. i tried analyzing your codebase using local ai and it said those boxes are tied to the browser's stepUp() and stepDown() methods which default to 1

thanks!

Expected behavior

should accept any input

Actual behavior

only accepts whole numbers

Version or commit

No response

Deployment mode

No response

Logs or screenshots

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