Re:Htmx Is the Future
by La_Beffa on Monday May 08, 2023 @11:59AM
(#35863138)
A possible solution could be what ASP.NET does where you can just set the validation rules in the backend and you get the client side one too, the magic is done by jQuery unobstrusive validation. Of course something a bit more up to date than jQuery would be ideal but you got the gist.
https://learn.microsoft.com/en-us/aspnet/core/mvc/models/val...