Answer the question
In order to leave comments, you need to log in
How to make widget for yii2 using 2 activeRecord model fields?
I am making a widget that should use 2 model fields, I need it to fit into a standard form with design and validation that ActiveForm generates, I don’t know how to implement to write a minimum of my html, widgets that I found all use only one field (except ActiveForm).
how to do it better?
I tried it on Html::active* helpers, didn't do it right or didn't do it right.
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