Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Make all form submits work by pressing Enter #82

Open
ismail-s opened this issue Feb 2, 2016 · 1 comment
Open

Make all form submits work by pressing Enter #82

ismail-s opened this issue Feb 2, 2016 · 1 comment

Comments

@ismail-s
Copy link
Owner

ismail-s commented Feb 2, 2016

Well, when I say all, I am excluding when within a textarea ofc.

@ismail-s ismail-s added this to the V1.0 milestone Feb 8, 2016
@ismail-s ismail-s added the ready label Feb 8, 2016
@ismail-s
Copy link
Owner Author

ismail-s commented Feb 8, 2016

Basically, it is the polymer submits that are the ones to sort out... One way of sorting this out is to:

  1. Have a hidden input type="submit" button on the form so pressing Enter would normally submit the form
  2. Use javascript to intercept pressing Enter in the form, and handle it in the custom way, by sending a click to the polymer button, however you do that. See this link.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant