You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When using InputText with Tailwind pt, setting the value of props.invalid to true does not add the p-invalid value or tw error border classes to the css class list. When I try it with InputMask, the same situation applies to that as well.
This should be fixed in #7226. I opened #7195 for InputMask issue and the invalid check was also added for the default Tailwind passthrough for InputText as well.
Describe the bug
When using InputText with Tailwind pt, setting the value of props.invalid to true does not add the p-invalid value or tw error border classes to the css class list. When I try it with InputMask, the same situation applies to that as well.
Reproducer
https://stackblitz.com/edit/zec5xp?file=src%2FApp.jsx
System Information
Steps to reproduce the behavior
Expected behavior
When the invalid prop is set to true, the p-invalid css class or tw error border classes should be added to the component's class list.
The text was updated successfully, but these errors were encountered: