Holiday Notice: Support will be provided on a limited scale from December 24th, 2024, to January 2nd, 2025. Happy holidays and a wonderful New Year!


Topic: Appending to div doesn't render input correctly

jmztaylor premium asked 2 years ago


Kamila Pieńkowska staff answered 2 years ago


If you add HTML elements to the site after it is loaded, or they are invisible/hidden at the beginning you need to initiate them after they are added/shown.

I've changed your code to show how to do that. https://mdbootstrap.com/snippets/standard/kpienkowska/4655242

It was shown in the Input documentation here: https://mdbootstrap.com/docs/standard/forms/input-fields/#section-dynamic-input-initialization



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: Premium
  • Premium support: Yes
  • Technology: MDB Standard
  • MDB Version: MDB5 6.0.1
  • Device: Pc
  • Browser: Chrome
  • OS: w11
  • Provided sample code: No
  • Provided link: Yes