file input widget

anjusebastian asked 7 months 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 7 months ago

can you send your widget configuration ?

anjusebastian replied 7 months 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