Topic: mdb select label for default value
After upgrading from 7.4.0 to 7.5.2 and adding [label] attribute to mdb-select, the label is not "activated" when the selected option value defaults to 0 (number, not string)
It used to work find when using <label class="active">TITLE</label>
Damian Gemza staff answered 6 years ago
Dear @mdb2
That's strange. Thanks for your report!
We'll take a deeper look at this, and we'll let you know, what's wrong there.
Best Regards,
Damian
mdb2 pro answered 6 years ago
mdb2 pro answered 6 years ago
Just want to add that
<label class="active">TITLE</label>
stopped working now. It looks as if the "active" class is programmatically removed with value is default.
Damian Gemza staff answered 6 years ago
Dear @mdb2
The problem with 0 value in mdb-select
will be resolved with the next version of MDB Angular (10.06.2019).
We have changed the behavior of code which lift-up the label, so you cannot fix it on your own (unless you'll download our ng-uikit-pro-standard-compile repository, and use the recompiled .tgz archive instead of installation from our gitlab server).
Best Regards,
Damian
mdb2 pro answered 6 years ago
Is there a new ver ?
Damian Gemza staff commented 6 years ago
You have to check our newsletters or changelog. Yes, there's a new version - 7.5.4.
mdb2 pro commented 6 years ago
I always get informed by email. Didn't get the last one re 7.5.4
mdb2 pro answered 6 years ago
FREE CONSULTATION
Hire our experts to build a dedicated project. We'll analyze your business requirements, for free.
Resolved
- User: Pro
- Premium support: No
- Technology: MDB Angular
- MDB Version: 7.5.1
- Device: NA
- Browser: NA
- OS: NA
- Provided sample code: No
- Provided link: No