and i have a problem, when i’m pushing on plus (+) on my form, i have a new select2, but without data.
and in console i see error:
ReferenceError: initSelect2Loading is not defined[Learn More]
yii2-dynamic-form.js:417:17
i read many issues, but still can refactor my code for working fine… i see some forks, but after installing - i have same error…
As you have already figured out, wbragnaca/yii2-dynamicform doesn’t work with the latest version of kartik-v/yii2-widget-select2. It needs an update but it doesn’t look actively maintained these days. It’s a real pity for this useful extension.
What you can do could be:
making a PR to fix the issue (as you have already done),
searching a fork that supports the latest yii2-widget-select2, and/or