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: Using MDB with form repeater

Alex Wai pro asked 3 weeks ago


using external plugins like form repeater it will cause the component to break and become duplicated. if there any function we can use form repeater

Actual behavior each clone item shoudl be unique

https://github.com/DubFriend/jquery.repeater


Kamila Pieńkowska staff answered 3 weeks ago


We do not have experience with this plugin. If you want to add form inputs and not rely on auto init you will want to use this syntax to initiate inputs instead of new constructor

document.querySelectorAll('.form-outline').forEach((formOutline) => {
  mdb.Input.getOrCreateInstance(formOutline).init();
});


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: Pro
  • Premium support: No
  • Technology: MDB Standard
  • MDB Version: MDB5 8.1.0
  • Device: mac
  • Browser: Chrome
  • OS: MACOS
  • Provided sample code: No
  • Provided link: Yes
Tags