Skip to content

Browser's autocomplete stops up and down keys from changing the hours/minutes. #38

Description

@rhorenov

Changing the hours and minutes using the up and down keys does not work reliably if the browser's autocomplete functionality is enabled.

The autocomplete functionality is not needed anyway in the hours/minutes inputs.

Solution: Add attribute autocomplete="off" to hours/minutes inputs.

To replicate:

  • Enter some number(s) into the hours or minutes inputs
  • Confirm the number(s) (e.g. by chaging the focus)
  • Try to change the value using keyboard up and down keys
  • When you reach any of the previously entered values, the browser opens an autocompletion menu and the keyboard arrows no longer work as expected

Tested on Chrome 68.0.3440.84 (Windows).

Will prepare a pull request.

No activity

Activity on this issue will appear here.

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

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions