This commit is contained in:
kali committed 2024-03-18 18:24:24 +03:00
1 parent bd456e6331
commit 906a8fd739
3 files changed
+6 -3

No files matched your search

+2 -1
View File
@@ -159,7 +159,8 @@ $form = new ActiveForm()
$form->field(TextArea::class, name: "phone", params: ['class' => "form-control", 'placeholder' => 'phone', 'value'=> 'asd'])->setTemplate(\itguild\forms\templates\bootstrap5\Bootstrap5Template::class)->setLabel("Message")->render();
$form->field(class: Select::class, name: 'select2', params: ['value' => 2])
->setOptions(['1' => 'bbb1', '2' => 'vvv3', 3 => 'ggg3', 4 => 'fgfgfgfg4'])->render();
->setOptions(['1' => 'bbb1', 2 => 'vvv3', 3 => 'ggg3', 4 => 'fgfgfgfg4'])
->render();
?>