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

Form usability enhancement #15

Open
dupski opened this issue Mar 30, 2018 · 1 comment
Open

Form usability enhancement #15

dupski opened this issue Mar 30, 2018 · 1 comment

Comments

@dupski
Copy link
Contributor

dupski commented Mar 30, 2018

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

  1. 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
  1. Add some custom event handling to field components

  2. Any other options?

@dupski dupski changed the title Add option for Enter key to submit on forms Form usability enhanvement Mar 30, 2018
@dupski dupski changed the title Form usability enhanvement Form usability enhancement Mar 30, 2018
@dupski
Copy link
Contributor Author

dupski commented Jun 20, 2018

This is done for DetailViews. Needs to be done on SearchViews still I believe

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