Skip to content

Period (".") should be a disallowed character #9

@holdenmatt

Description

@holdenmatt

Your component works great, thanks!

One bug I've seen: entering a period causes weird behavior. E.g.:

  • entering ["1", "."] -> "0.01." (should not have trailing ".")
  • entering ["1", ".", "1"] -> "0.00"

I'd expect "." to be a disallowed character like any other non-digit character.

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions