V
V
Vladislav Sofienko2017-09-05 11:14:45
Yii
Vladislav Sofienko, 2017-09-05 11:14:45

How to hide control-label in radioList?

Delete the line title radioList. Leave only radiobuttons.
af619be21b0f4a8285fca28f9868e714.JPG

Answer the question

In order to leave comments, you need to log in

1 answer(s)
M
melnikov_m, 2017-09-05
@sofvlad

<?= $form->field($model, 'attr', ['template' => '{input}{hint}{error}'])->radioList([1=>'1 option', 2= >'2 option'])->label() ?>

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question