primereact
primereact copied to clipboard
Dropdown: Required attribute doesn't work
Describe the bug
After 8.X update the dropdown always count as unselected.
Reproducer
https://codesandbox.io/s/crimson-field-vg9tzl?file=/src/DropdownDemo.js
PrimeReact version
8.x.x
React version
18.x
Language
TypeScript
Build / Runtime
Next.js
Browser(s)
No response
Steps to reproduce the behavior
- Select an option
- Click submit
Expected behavior
Submit the form with the selected option
I see the issue. Will fix