Skip to content

Using inputmode numeric/decimal prevents entering negative numbers on mobile devices #24

@ragulka

Description

@ragulka

The html inputmode attribute is useful for showing a numeric keypad on mobile devices, but it has a big downside: on some devices, it means it's not possible to enter negative numbers, because the minus sign is not shown.

Perhaps consider setting inputmode here to text when the input allows negative numbers? Or, at least allow manually setting the inputmode in the constructor options?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions