-
Notifications
You must be signed in to change notification settings - Fork 4
Open
Labels
Description
Need to add option for Enter key to submit on forms. This should probably be a prop / option on SearchViews and DetailViews.
On SearchViews, enter will activate the search
On DetailViews, enter could activate Save, although should the user have the option to elect which action gets run by default? (e.g. a "default" prop for buttons?)
Some possible ways to implement
- Add an (unused) tag to the wrapper components and override the onSubmit method
- An advantage of this is that e.g. on IOS/Android you'll get a "go" button on the virtual keyboard
-
Add some custom event handling to field components
-
Any other options?