Using MDB with form repeater


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
  • User: 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