This plugin is working great for me - until I attempt to remove a group.
When doing this, the browser window freezes up and usually crashes completely.
When it doesn't crash, instead of removing my single group, it has actually created an uncountable number of groups.
I sometimes get the following message in console
Uncaught RangeError: Maximum call stack size exceeded
at Cb (load-scripts.php:4)
at a.fn.init.addClass (load-scripts.php:4)
at HTMLButtonElement.cmb_flexible.addFlexibleRow (cmb2-flexible.js:82)
at HTMLDivElement.dispatch (load-scripts.php:3)
at HTMLDivElement.r.handle (load-scripts.php:3)
at Object.trigger (load-scripts.php:3)
at Object.a.event.trigger (load-scripts.php:9)
at HTMLButtonElement.<anonymous> (load-scripts.php:3)
at Function.each (load-scripts.php:2)
at a.fn.init.each (load-scripts.php:2)
This plugin is working great for me - until I attempt to remove a group.
When doing this, the browser window freezes up and usually crashes completely.
When it doesn't crash, instead of removing my single group, it has actually created an uncountable number of groups.
I sometimes get the following message in console
Removing non-flexible groups works perfectly.
My php code is