

Form validation without a library
The browser already knows when a field is required, isn't an email or doesn't match a pattern. I only had to decide when to say so, and in which words.
2 posts with this tag.


The browser already knows when a field is required, isn't an email or doesn't match a pattern. I only had to decide when to say so, and in which words.


My CV builder keeps what I type in the browser, never on a server. One $state object, an $effect to save it, and a select that taught me events don't always arrive in the order I think.