Reply To: Can’t rebuild toggle

#10033928
Support
Keymaster

Hello, first thanks for your purchase.

We inspected your code and probably the best way is use an Accordion instead of a Toggle to do that. The toggle can not rebuild/reinitialize without deleting all content and re-inserting again. Different of Togles, with an Accordion you can easily append new elements in the DOM without the need of rebuild/reinitialize the plugin.

My suggestion for you is replace the toggle code with one of accordions here:
http://preview.oklerthemes.com/porto-admin/3.0.0/ui-elements-accordions.html

To get the same toggle effect on accordions (open multiple sections instead of one at a time), just remove the attribute data-parent="#accordion" from HTML of accordions.

We hope this helps!

Please try that and let us know if you need further assistance.

Kind Regards,

Rodrigo.

If you are satisfied with Porto Admin and our support, please leave your comment and rating on ThemeForest downloads page. That helps us a lot: https://themeforest.net/downloads