Closed michapietsch closed 6 years ago
I see. That's why I made it optional. :) In any case: Great library and thanks for the in-depth explanations on css-tricks.com! Much appreciated!
I'll keep the feature in my fork. I know there will always be more feature requests. My aim is to only use the Constraint Validation API to be framework-independent but that to the full extend possible.
Optional or not, it's still more code in the code base, though, right? I've learned to be a bit ruthless with features.
Glad you enjoyed the series, and cheers!
Nice feature, but my goal is to very deliberately NOT make this a full featured library.
It does one thing: validates on blur by augmenting native form validation. Why blur? Numerous usability tests have shown it's the best time to validate.
I can imagine exceptions (password fields with lengthy requirements for example), but that's not what this is for.