Hi, I was wondering if there was a nice solution for showing a validation error message for input components? I have searched the docs and couldn't find anything. Also any visual treatment such as red border when an input field is in error.
If nothing out of the box for primereact, do you have any recommendations of libraries that would provide this functionality and play well with primereact?
thanks.
Validation messages
-
- Prime
- Posts: 18616
- Joined: 05 Jan 2009, 00:21
- Location: Cybertron
- Contact:
There is not fully documented it seems, to highlight an invalid field, you can add "ui-state-error" to the input.
For input messages, our material theme Ultima has one;
https://www.primefaces.org/ultima-react/#/messages
We'll also add it to all other themes as well, whether free or paid.
For input messages, our material theme Ultima has one;
https://www.primefaces.org/ultima-react/#/messages
We'll also add it to all other themes as well, whether free or paid.
-
- Information
-
Who is online
Users browsing this forum: No registered users and 1 guest