Skip validation until the first form submit? #129
Replies: 1 comment 2 replies
-
Felte has been growing gradually based on user requirements. While I know this behaviour exists in libraries such as React Hook Form, the most common use case seems to be validation on touch + on change after it's been touched. So currently this is the only supported behaviour.
Adding this behaviour is possible, though! The expected behaviour would be validation on submit, and subsequently on change, right? I might find some time during the weekend to work on this. Feel free to open an issue to track this, though! |
Beta Was this translation helpful? Give feedback.
-
Awesome library BTW! One question: I noticed the validation happens on fields immediately after a blur on the field, even if you haven't submitted the form yet. I'd like to have behavior where you only see validation errors upon submitting the form (and then it can check in real-time after that as you interact on fields). Is there any way to enable that, or if not…something you'd be able to add?
Beta Was this translation helpful? Give feedback.
All reactions