7 ms·
You could fill those setCustomValidity() calls in the client with rule-sets generated on the server. even re-fetch them from the server on each input change in
by woodpanel 2y ago
You could fill those setCustomValidity() calls in the client with rule-sets generated on the server.
even re-fetch them from the server on each input change in the client
or just ditch the whole thing and do it in htmx :->
- Jerrrrrrry 2y agoCould you not remove the event from the input change, replacing it with NOP? htmx looks dope af thanks
- yawaramin 2y agoOr do all of the above https://dev.to/yawaramin/handling-form-errors-in-htmx-3ncg https://dev.to/yawaramin/handling-form-errors-in-htmx-3ncg