Topic: Autocomplete Label Remains Blue When Not Focused

nathan.malone free asked 4 years ago


Expected Behavior When the .mdb-autocomplete is not .active, I expected the associated label to return to the normal dark-grey color.

Actual Behavior When not .active and with no value in the .mdb-autocomplete, the associated label returns to the normal dark-grey color. However, when not .active and with a value in the .mdb-autocomplete, the associated label remains blue.

Example In this snippet, you can duplicate this functionality. The image below is a screenshot of the snippet that illustrates the issue. snippet screenshot

Suspected Cause The selector causing the blue color for the autocomplete labels is .mdb-autocomplete ~ label.active, which does not seem to take into account whether the .mdb-autocomplete is .active, only if the label is .active.


Grzegorz Bujański staff commented 4 years ago

Hi. Thank you for report this. I add this to ours to do list. We will fix this.



Please insert min. 20 characters.

FREE CONSULTATION

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

Status

Opened

Specification of the issue

  • ForumUser: Free
  • Premium support: No
  • Technology: MDB jQuery
  • MDB Version: 4.15.0
  • Device: Desktop PC
  • Browser: Chrome 81.0.4044.92
  • OS: Windows 10
  • Provided sample code: Yes
  • Provided link: Yes