Re:Open-UI: Maintain an open standard for UI and promote its...
by notpushkin on Thursday March 13, 2025 @12:28AM
(#43350396)
Right. You can use browser validation and extract the error messages with JavaScript (to style them yourself, e.g. [1]), but there’s no solution without JS yet.
[1]: https://github.com/notpushkin/evilmartians-exercise-auth/blo...
Good error messaging is important and having styleable semantic elements would be helpful. It's tricky because you often need more than one error message per input, not just "required" but too big, too small, wrong format, etc.