Skip to content

Commit

Permalink
init
Browse files Browse the repository at this point in the history
  • Loading branch information
h2lsoft committed May 5, 2020
1 parent e7fe7ed commit 2fe4ef4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion examples/5-validator.php
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
$form->addNumber('Age', '', true, ['min'=>5, 'max'=>20, 'step'=>1, 'class'=>'text-center'])->setInputSize(2);
$form->addSelect('Fruit', '', ['Apple', 'Banana', 'Pear'], true, true);
$form->addRadio('Rating', '', ['Bad', 'Medium', 'Good'], true);
$form->addFile('CV', '', true, ['accept' => '.doc,.docx,.pdf,application/msword,application/pdf']);
$form->addFile('CV', '', true, ['accept' => '.doc, .docx, .pdf, application/msword, application/pdf']);
$form->addTextArea('Comments', '', false, '', ['minlength'=>5, 'maxlength'=>255]);
$form->addColorPicker('Color', '', false);
$form->addUrl("Website", '', false);
Expand Down

0 comments on commit 2fe4ef4

Please sign in to comment.