update 2
This commit is contained in:
@ -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();
|
||||
|
||||
|
||||
?>
|
||||
|
Reference in New Issue
Block a user