Commit a4ba2776 by Qiang Xue

Merge pull request #3404 from djfly/patch-4

Update input-forms.md
parents 66b141d8 8a95d19a
......@@ -114,7 +114,7 @@ to the attribute name:
```php
// allow multiple files to be uploaded:
echo $form->field($model, 'uploadFile[]')->fileInput('multiple'=>'multiple');
echo $form->field($model, 'uploadFile[]')->fileInput(['multiple'=>'multiple']);
// allow multiple items to be checked:
echo $form->field($model, 'items[]')->checkboxList(['a' => 'Item A', 'b' => 'Item B', 'c' => 'Item C']);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment