Nobuo Kihara
8f4ae13dbc
docs/guide/input-file-upload.md - small fixes [ci skip]
9 years ago
Alexey Baranov
21c5bdde99
File upload docs fix.
9 years ago
Vadym Chenin
99e3505c9d
docs/guide/input-file-upload.md change "fileExtension" to "extensions"
9 years ago
Vadym Chenin
d285c6e1dc
documentation corrections [skip ci]
9 years ago
Qiang Xue
84a9281d02
finished file upload guide [skip ci]
9 years ago
Qiang Xue
276b367fc5
guide wip [skip ci]
9 years ago
Alexander Makarov
ab75cb8039
Fixed a typo. (reverted from commit b6dd041f41
)
10 years ago
githubjeka
b6dd041f41
Fixed a typo.
10 years ago
mshutov
58f2c39fee
fixed link to Imagine Extension on GitHub
...
close #8246
10 years ago
Alexander Makarov
87a824515f
Renamed application template into project template in docs
10 years ago
Alexander Makarov
8710944cbd
Fixes #6148 : documented quirks of mime type validation when using FileValidator
10 years ago
Nobuo Kihara
ccf94b5558
docs/guide/input-file-upload.md - revised a bit [ci skip]
10 years ago
Alexander Makarov
f9dbe3ca19
Typo
10 years ago
Alexander Makarov
5d5501e197
Fixed not really correct file uploading in the guide
10 years ago
Alexander Makarov
d8e43b7cf8
Minor fixed for file upload guide
10 years ago
Christopher Vrooman
f98554b13a
Update input-file-upload.md
...
Minor syntax changes.
10 years ago
Christopher Vrooman
dac2ca3a33
Update input-file-upload.md
...
Minor syntax changes.
10 years ago
Jitendra Joshi
9efdf237f0
Fixed typo for "Uplaods" to "Uploads" on line 116
10 years ago
Evgeniy Tkachenko
c37ee95b4e
Fixes #4286 : Update input-file-upload.md
10 years ago
Vladimir
59c430ce79
Update input-file-upload.md
...
fix docs
10 years ago
Alexander Makarov
beca637d7f
Adjusted file upload guide wording
10 years ago
Alexander Makarov
63fb997c94
Fixed formatting, added note about work in progress
10 years ago
Alexander Makarov
9d7c14e91f
Renamed file upload docs
10 years ago
Evgeniy Tkachenko
96bf647752
Add new guide upload-file
...
1. UploadedFile::getInstances($model, 'file'); sees only one file if not set ```'file[]'```
```php
<?= $form->field($model, 'file[]')->fileInput(['multiple' => '']) ?>
```
2. ```$form->errorSummary(..)``` not return all errors of file attribute, but only the last.
So I had to invent.
```php
if ($model->hasErrors()) {
echo '<pre>';
print_r($model->getErrors());
echo '</pre>';
}
```
So it should be?
11 years ago