Skip to content

Validation trigger at FormField level #5913

@dcatoday

Description

@dcatoday

Expected Behavior

It would be great if we could tell individual FormFields what validation trigger to use. I am currently trying to validate on change for a password field to help the user fill it out while other fields are done on blue.

Actual Behavior

Right now we set the validation trigger at the Form level so all fields share that logic.

We are only able to set at Form level.

URL, screen shot, or Codepen exhibiting the issue

Steps to Reproduce

  1. Create form
  2. Add FormField
  3. Cannot set validation trigger at Formfield level

Your Environment

  • Grommet version: 2.20.0
  • Browser Name and version: Chrome
  • Operating System and version (desktop or mobile): windows desktop

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementA suggestion to add to or change behaviorin progressCurrently in development

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions