[Bug] mdb-select's label loose active class with editab


Topic: [Bug] mdb-select's label loose active class with editable attribute

Julien Moulin asked 3 years ago

Steps to reproduce

1- Open select dropdown 
2- Write some text in searchbar 
3- Add the new option (ensure the new option is selected)
4- Close select dropdown (active class is present - OK) 
5- Open again (ensure the new option is always selected)
6- Close again (active class disappared - KO)

Observation : If the mdb-select start with at least one option, everthing works fine, but he does'nt without any option on start.

Snippet to reproduce : https://mdbootstrap.com/snippets/jquery/julien_moulin/1414886


Sebastian Kaczmarek staff pro premium answered 3 years ago

Thanks for the detailed reproduction steps. It really helps a lot to find the root cause of the issue. It seems like the active class is not handled properly. We'll fix it. Thanks for the report.


Please insert min. 20 characters.

FREE CONSULTATION

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

Status

Answered

Specification of the issue
  • User: Free
  • Premium support: No
  • Technology: MDB jQuery
  • MDB Version: 4.8.11
  • Device: Desktop
  • Browser: Chrome
  • OS: Windows 10
  • Provided sample code: No
  • Provided link: Yes