Skip to content

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

@rhorenov

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.

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