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] Turn off native validation #54

Closed
logaretm opened this issue Aug 22, 2024 · 0 comments · Fixed by #55
Closed

[Validation] Turn off native validation #54

logaretm opened this issue Aug 22, 2024 · 0 comments · Fixed by #55
Assignees
Labels
✅ validation Topics involving form validation logic, rules, and error handling.

Comments

@logaretm
Copy link
Member

logaretm commented Aug 22, 2024

What

We should offer a mechanism to turn off native validation as it might be undesired in some situations:

  • Devs may prefer to use JS-schemas for validation.
  • Devs may prefer to keep required as a suggestive UI hint rather than an assertive functionality.
  • Schemas may conflict with native validation in cases like email/tel/url and so on.

I think providing a global config level under validation namespace can be suitable along with a form-level, group-level, field-level gates to turn this behavior on/off.

I think this is something to opt-out from rather than to opt-in to.

@logaretm logaretm added this to Roadmap Aug 22, 2024
@logaretm logaretm moved this to Todo in Roadmap Aug 22, 2024
@logaretm logaretm added this to the Release milestone Aug 22, 2024
@logaretm logaretm self-assigned this Aug 22, 2024
@logaretm logaretm added the ✅ validation Topics involving form validation logic, rules, and error handling. label Aug 22, 2024
@logaretm logaretm linked a pull request Aug 22, 2024 that will close this issue
@github-project-automation github-project-automation bot moved this from Todo to Done in Roadmap Aug 23, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
✅ validation Topics involving form validation logic, rules, and error handling.
Projects
Archived in project
Development

Successfully merging a pull request may close this issue.

1 participant