mdb-select validation color


Topic: mdb-select validation color

Shajee Lawrence pro asked 6 years ago

How can I get the color for validation (red, green etc) in the mdb-select. The text boxes show green when visited and is valid. Is there a way we can do that for the mdb-select too? The form looks ugly when only the textboxes show the colorenter image description here

Here is the image


Arkadiusz Idzikowski staff answered 6 years ago

You need to use our new validation method instead of mdbInputDirective. You can find some examples here, just replace input component with mdb-select.

Angular validation

Let me know if you encounter any further problems.


Shajee Lawrence pro commented 6 years ago

Thanks, that helps !!


Please insert min. 20 characters.

FREE CONSULTATION

Hire our experts to build a dedicated project. We'll analyze your business requirements, for free.

Status

Resolved

Specification of the issue
  • User: Pro
  • Premium support: No
  • Technology: MDB Angular
  • MDB Version: 7.0.0
  • Device: PC
  • Browser: Chrome
  • OS: Linux
  • Provided sample code: No
  • Provided link: No