Dynamicaly adds new fields in form.
The preferred way to install this extension is through composer.
Either run
composer --prefer-dist kaile/yii2-polyfield "*"
or add
"kaile/yii2-polyfield": "*"
to the require section of your composer.json
file.
Once the extension is installed, simply use it in your code by:
<?= \kaile\polyfield\Polyfield::widget(); ?>