Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- echo FileUploadUI::widget([
- 'model' => new Model,
- 'attribute' => 'doc',
- 'url' => ['site/upload'],
- 'gallery' => false,
- 'fieldOptions' => [
- 'accept' => '*'
- ],
- 'clientOptions' => [
- 'maxFileSize' => 100000000,
- 'maxChunkSize' => 10000000, // 10 MB
- ],
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement