Topic: mdb.Input bug since version 7.0.0
meesha81 priority asked 6 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.
- Open snippet
- Click into Name, enter some text
- 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.
FREE CONSULTATION
Hire our experts to build a dedicated project. We'll analyze your business requirements, for free.
Answered
- 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