-
Notifications
You must be signed in to change notification settings - Fork 60
Open
Labels
enhancementNew feature or requestNew feature or request
Description
Problem to solve
As a developer, I want to be able to choose my validation library, so that I can have choices. Personally, I prefer using Zod over Yup but there seems to be no official support for alternate validation libraries.
Intended users
Developer.
User experience goal
The developer should be able to use Zod seamlessly with svelte-forms-lib to validate input.
Proposal
I'm unsure yet of how react-hook-form implements, but maybe add a check to see if the code is using Zod or Yup to validate. Then, utilise the validation code accordingly.
Further details
Documentation
Links / references
react-hook-form -- https://www.react-hook-form.com/
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or request