Topic: mdb.Input bug since version 7.0.0

meesha81 priority asked 5 months ago


Expected behavior Label should go UP when filled (and leave there after focus out) and go back as placeholder when input empty.

Actual behavior mdb.Input do not change active class properly. It is initialized in state of new mdb.Input, but not removed/added based on filled value.

MDB 6.4.2 = works fine MDB 7.0.0 until latest 7.3.1 = doesen't work fine (label go over input, because "active" class is not managed by component).

Because of different behavior 6.4.2 agains 7.x.x I think it is bug. In snippet based exactly on your documentation show this problem live.

  1. Open snippet
  2. Click into Name, enter some text
  3. Leave input (active class will not be added so after focus out label goes over filled text)

https://mdbootstrap.com/snippets/standard/meesha81/6147025

It is interesting that your documentation examples works properly, but snippet based on examples not. Your documentation of mdb.Input propably use old 6.x version? Please fix this issue or help me what is wrong. Thank you.


Kamila Pieńkowska staff answered 5 months ago


We are aware of this problem it will be fixed soon.



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

  • ForumUser: Priority
  • Premium support: Yes
  • Technology: MDB Standard
  • MDB Version: MDB5 7.3.1
  • Device: PC
  • Browser: Chrome
  • OS: Win11
  • Provided sample code: No
  • Provided link: Yes