Skip to content

Numeric fields in 'Add new entry' screen #1834

Description

@mattanelkaim

Currently, both the 'Period (seconds)' and 'Digits' input fields are treated as standard text inputs, which results in the full text keyboard instead of the numeric keypad when editing:

Image

Since these fields are inherently numeric, as checked by parsePeriod() and the digits validation - switching them to a numeric input type would improve UX and prevent input errors.

I suggest annotating the TextInputLayout of both fields to be numeric only.
I'm working on a PR for this and will submit it shortly :)

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    proposalA proposal for a new feature

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions