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

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

Open
nmandrescu opened this issue Apr 20, 2022 · 0 comments
Assignees

Comments

@nmandrescu
Copy link
Contributor

  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.
nmandrescu added a commit that referenced this issue Apr 20, 2022
@nmandrescu nmandrescu self-assigned this Apr 20, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant