S
S
Sergey2017-07-05 18:52:25
Yii
Sergey, 2017-07-05 18:52:25

Duplicate checkbox yii2?

Tell me, is it normal that when creating a form on yii2, input c type = "hidden" is duplicated

<?= $form->field($searchModel, 'with_image')->checkbox(); ?>

There is a main checkbox with the name and its duplicate with type="hidden"

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question