Skip to content

Form usability enhancement #15

@dupski

Description

@dupski

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?

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions