Skip to content

Jump on next node on separator key press #25

Closed
@MartinNuc

Description

@MartinNuc

People in my country are used to write date in this format: DD. mm. YYYY

However when I fill days with single digit (eg. 5th November) I have to press right arrow to jump to the month part.

It would be great if I could press a . (or -, / for other locales) to jump to the month part.

I would like to create PR but want to discuss this feature first. These are possible solutions coming to my mind:

  1. check for keypresses for all separators regardless user's locale. Means to listen on all keycodes like 190, 189 etc
  2. somehow detect separator in the pattern and listen only for that keypress
  3. listen for keypress based on user's locale

Personally I think the easiest and sufficient solution is the 1.

What do you think?

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