sss
This commit is contained in:
@ -2,7 +2,7 @@
|
||||
|
||||
use itguild\forms\Form;
|
||||
use \itguild\forms\inputs\TextInput;
|
||||
use \itguild\forms\inputs\Radio;
|
||||
use \itguild\forms\inputs\RadioButton;
|
||||
use \itguild\forms\inputs\Select;
|
||||
use \itguild\forms\ActiveForm;
|
||||
|
||||
@ -37,13 +37,13 @@ $activeForm->field(class: TextInput::class, name: 'one', params: ["style" => "co
|
||||
$activeForm->field(class: TextInput::class, name: 'two', params: [])
|
||||
->render();
|
||||
|
||||
$activeForm->field(class: Radio::class, name: 'radio2',params: ["style" => "color:RED;display:flex"])
|
||||
$activeForm->field(class: RadioButton::class, name: 'radio2',params: ["style" => "color:RED;display:flex"])
|
||||
->setOptions(['1' => 'bbb1', '2' => 'vvv3', 3 => 'ggg3', 4 => 'fgfgfgfg4'])
|
||||
->setTemplate("<div class='form-group'>{label}{input}</div>")
|
||||
->setLabel("bbb222bbb")
|
||||
->render();
|
||||
|
||||
$activeForm->field(class: Radio::class, name: 'radio2',params: ["style" => "color:RED;display:flex"])
|
||||
$activeForm->field(class: RadioButton::class, name: 'radio2',params: ["style" => "color:RED;display:flex"])
|
||||
->setLabel("bbbbbb")
|
||||
->render();
|
||||
|
||||
|
Reference in New Issue
Block a user