Topic: Giving an 'error' style to a material-select object
Kneidels pro asked 5 years ago
I would like to give the object a pinkish color when the required material-select drop down has not been selected.
does anything exist?
Marta Wierzbicka staff answered 5 years ago
there was a similar question here: https://mdbootstrap.com/support/material-select-validation/. We don't have functionality like this now but we will think about adding this option to our material select.
Kneidels pro commented 5 years agoThanks. I think this is a very important element. especially as you have something like this for text inputs, "error and success messages" section of https://mdbootstrap.com/components/inputs/#input-fields thanks!
Marta Wierzbicka staff commented 5 years agoThank you for pointing out this.
Hire our experts to build a dedicated project. We'll analyze your business requirements, for free.
- User: Pro
- Premium support: No
- Technology: MDB jQuery
- MDB Version: -
- Device: -
- Browser: -
- OS: -
- Provided sample code: No
- Provided link: No
Bartłomiej Malanowski staff commented 5 years agoCould you please expand your question?
Kneidels pro commented 5 years agomeaning - when a field which is mandatory is not filled - you can style it with red border or background to shoe the user is not filled yet. like here: https://ibb.co/m5gRt6 i would suggest in material-select to do a red border bottom or something, to fit into the current styles. does that explain it?