Skip to content
This repository has been archived by the owner on Apr 11, 2023. It is now read-only.

Focus inputs without type #823

Merged
merged 1 commit into from
Sep 21, 2020

Conversation

dev-output
Copy link
Contributor

This addresses issue #779 . On the example reported, the input element is missing a "type" attribute. As per the HTML spec and Mozilla documentation, this defaults to type="text". It's worth noting that a more spec-compliant implementation of this feature would be to use a list of input types to not match, since unknown types (eg. typos) also default to type="text".

Copy link
Owner

@ueokande ueokande left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

great!

@ueokande ueokande merged commit 6582e3b into ueokande:master Sep 21, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants