Topic: create elemnt by javascript on the fly behave odd

sody priority asked 1 week ago


Expected behavior

creating an input on the fly "notch" behave good on delete value of input, ie: when removing value (delete the charactes in input) the "label place holder" removes the "active" class and goes down to the input itself.

Actual behavior

when populating objects (input for example) on the fly (for example in modals) whith pre-populated value and then remove the value (delete the chracters in input) the labe pleace holder remains on top.

Resources (screenshots, code snippets etc.)

https://mdbootstrap.com/snippets/standard/sody/6153874#js-tab-view


Kamila Pieńkowska staff answered 6 days ago



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.2
  • Device: Desktop
  • Browser: Chrome
  • OS: Window
  • Provided sample code: No
  • Provided link: Yes