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

Slash key on month input selects year input #42

Closed
wants to merge 1 commit into from

Conversation

austingreco
Copy link

Allows a date typed with a slash to populate the inputs (eg: '2/16')

Fixes #36

@@ -14,6 +14,7 @@
<link rel="import" href="../paper-input/paper-input-container.html">
<link rel="import" href="../paper-styles/default-theme.html">
<link rel="import" href="../paper-styles/typography.html">
<link rel="import" href="../iron-a11y-keys/iron-a11y-keys.html">
Copy link
Contributor

Choose a reason for hiding this comment

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

You should use the iron-a11y-keys-behavior instead; it's more performant (keys is just the behavior wrapped in an element, which isn't needed).

@notwaldorf
Copy link
Contributor

Thanks for your contribution! This is an awesome feature! I left a couple of comments for you.

@notwaldorf
Copy link
Contributor

Closing this, since there's hasn't been any response to the review. Please re-open this when it's ready for another look!

@notwaldorf notwaldorf closed this Mar 7, 2016
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants