Dropdown required error not work

UI Components for React
Post Reply
hamid842
Posts: 3
Joined: 09 Feb 2021, 22:29

02 Jun 2021, 22:41

Hello there,
1- I have a huge form that has a lot of fields, InputText required errors work on onSubmit, but Dropdowns do not.
just passed "true" to the required property.
2- How can I add a "Red Star" to the required fields?

Thanks for your responses.

mert.sincan
Posts: 4741
Joined: 29 Jun 2013, 12:38

16 Jun 2021, 12:44

Hi,

Do you use any form library?

Best Regards,

Post Reply

Return to “PrimeReact”

  • Information
  • Who is online

    Users browsing this forum: No registered users and 6 guests