Skip to content

Validation not triggered for components like Toggle until the form is submitted #439

@nmandrescu

Description

@nmandrescu
  1. Add some validation to a Toggle using getField()
    • sample use case: do not allow to disable a role if only 2 users with such role are left.
  2. Turn off/on to trigger your validation use case.
  3. The error is not reported.
  4. Attempt to submit the form - the error now shows up.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions