How to remove the default red color error shown on placeholder on text inputs, i want to change placeholder to other color when error occurs.
https://codesandbox.io/s/error-color-1ixmht?file=/src/App.tsx
4 messages · Page 1 of 1 (latest)
How to remove the default red color error shown on placeholder on text inputs, i want to change placeholder to other color when error occurs.
https://codesandbox.io/s/error-color-1ixmht?file=/src/App.tsx
"&::placeholder": {
display: error ? "none" : "block",
color: floating ? undefined : "transparent",
},
},
i tried doing this using createstyles but non of them is working ..
use styles api
i've tried adding this but not working..
@marble crow