Improve p-invalid class for InputSwitch #2909
Labels
Component: Theme
Issue or pull request is related to Theme
Type: Enhancement
Issue contains an enhancement related to a specific component. Additional functionality has been add
Milestone
Describe the bug
I am in the development of a product for a client and within the requirements is that the user be told that when an input visibly indicates that there is an error.
I would expect it to look like this

But i get

Even if I add the manual class, no style is applied to the input, is that behavior normal?

To get the desired effect I had to do it in a custom way, wouldn't that be native?
Reproducer
No response
PrimeReact version
8
React version
17.x
Language
TypeScript
Build / Runtime
Create React App (CRA)
Browser(s)
No response
Steps to reproduce the behavior
No response
Expected behavior
No response
The text was updated successfully, but these errors were encountered: