Answer the question
In order to leave comments, you need to log in
What are the solutions for creating fields dynamically in Yii2?
You need to be able to add new fields to the form. Visually, the following result is expected:
Now I use wbraganca/yii2-dynamicform , but more and more nuances emerge with each step. For example: the fields in the middle are updated incorrectly, Model::createMultiple is designed for an ActiveRecord with an id field, and I use forms.
In a similar question I found: unclead/yii2-multiple-input , but I need to duplicate two fields at once: "Property", "Value".
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question