Topic: Giving an 'error' style to a material-select object
I would like to give the object a pinkish color when the required material-select drop down has not been selected.
I looked at https://mdbootstrap.com/javascript/material-select/ but did not see a style for this.
does anything exist?
Thanks!
Marta Szymanska staff pro premium answered 7 years ago
Hi,
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.
Best,
Marta
Marta Szymanska staff pro premium commented 7 years ago
Thank you for pointing out this.FREE CONSULTATION
Hire our experts to build a dedicated project. We'll analyze your business requirements, for free.
Answered
- User: Pro
- Premium support: No
- Technology: MDB jQuery
- MDB Version: -
- Device: -
- Browser: -
- OS: -
- Provided sample code: No
- Provided link: No
Bartłomiej Malanowski staff pro premium commented 7 years ago
Could you please expand your question?pro commented 7 years ago
meaning - 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?