Validation messages

UI Components for React
Post Reply
Posts: 8
Joined: 09 Sep 2016, 07:13

05 Oct 2017, 12:04

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?


Posts: 18190
Joined: 05 Jan 2009, 00:21
Location: Cybertron

09 Oct 2017, 16:49

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;

We'll also add it to all other themes as well, whether free or paid.

Post Reply

Return to “PrimeReact”

  • Information
  • Who is online

    Users browsing this forum: No registered users and 1 guest