Holiday Notice: Support will be provided on a limited scale from December 24th, 2024, to January 2nd, 2025. Happy holidays and a wonderful New Year!


Topic: mdb-select validation color

Shajee Lawrence pro asked 5 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 5 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 5 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

  • ForumUser: 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