field(Select::class, name: "selectItem", params: [ 'class' => "form-control", "options" => ["textInput", "textArea", "checkBox", "button", "radioButton", "select", "label"] ]) ->setLabel("Выберите тип инпута") ->render(); $form->field(TextInput::class, name: "name", params: [ 'class' => "form-control", 'placeholder' => 'Name' ]) ->setLabel("Имя поля") ->render(); $form->field(TextInput::class, name: "value", params: [ 'class' => "form-control", 'placeholder' => 'Значение value' ]) ->setLabel("Значение") ->render();