to get: On the page, there will be input fields(table_name), and selector with several types for this field. By clicking on ADD button additional row with table name and type for it must be added. I defined that I must use FieldList(FormField) for it. FormField expecting for min_entries parameter where you can set the number of this dynamic field. I pass this variable by init method. The problem: after rendering this form it shown as UnboundFields.
I also looked for the same cases at Stack Overflow. A lot of answers is dealing with passing an additional dictionary to initial values for this form. But I can't operate with it, due to lack of experience.
How to get correct results?
уж лучше бы по-украински писал)
Обсуждают сегодня