file input widget

anjusebastian asked 1 month ago

I got an issue while uploading files. Uploaded file size is showing as zero size after validation fails . Can you help me with a solution..

1 Answers
Guirmahroc answered 1 month ago

can you send your widget configuration ?

anjusebastian replied 1 month ago

Below is my configuration
field($model, ‘document_names[]’)->widget(FileInput::classname(), [‘options’ => [‘multiple’ => true],’pluginOptions’ => [
‘showUpload’ => false,’initialPreview’=> false,’overwriteInitial’ => false,’initialPreviewShowDelete’ => true,
]]);?>

Login or register to contribute or comment.

Login   Register