L
L
Lev K2016-05-25 20:12:49
Yii
Lev K, 2016-05-25 20:12:49

How to separate field dropdownlist from model?

In yii2, you need to make a drop-down list, but so that the selected value is written simply to a variable, and not to a model attribute. How can I do that ?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
M
Maxim Timofeev, 2016-05-25
@Leffken

Via html helper
www.yiiframework.com/doc-2.0/guide-helper-html.htm...

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question