-
-
Notifications
You must be signed in to change notification settings - Fork 401
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
Is there a way to make a table form submit on enter? #743
Comments
I use the Add this to the My button definition
My functions:
|
Do you think it's technically possible to replace the entire row with an enclosed <form> on edit? I know that's a big ask, but it would preserve native form behavior. |
I ran with what you gave me and created a simple directive that makes the solution easy. If you put this on the table's <tr> you can really easily add submit on enter.
Do you think this would be fit for a PR? |
Sure, go for it!! |
@amfsyn any reason this wasn't actually merged? I think this would still be really useful. |
Is it possible to modify this example, so that when an input is focused, the user can press enter to submit the form?
I understand that the problem is that the input is not inside the form.
There has to be a way to do this though.
The text was updated successfully, but these errors were encountered: