Topic: mdb select label for default value

itay pro asked 5 years ago


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>


itay pro answered 5 years ago


Fixed in 7.5.4 !!!!!!


itay pro answered 5 years ago


Is there a new ver ?


Damian Gemza staff commented 5 years ago

You have to check our newsletters or changelog. Yes, there's a new version - 7.5.4.


itay pro commented 5 years ago

I always get informed by email. Didn't get the last one re 7.5.4


Damian Gemza staff answered 5 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


itay pro commented 5 years ago

Thanks..........


itay pro answered 5 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.


itay pro answered 5 years ago


Please keep me updated


Damian Gemza staff answered 5 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



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.5.1
  • Device: NA
  • Browser: NA
  • OS: NA
  • Provided sample code: Yes
  • Provided link: No