1. 04 Apr, 2014 2 commits
    • Add new guide upload-file · 96bf6477
      Evgeniy Tkachenko authored
      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?
    • fixed typo · a97a35ba
      Alexander Makarov authored
  2. 03 Apr, 2014 13 commits
  3. 02 Apr, 2014 23 commits
  4. 01 Apr, 2014 2 commits