S
S
Sergey Beloventsev2018-11-28 14:15:16
Yii
Sergey Beloventsev, 2018-11-28 14:15:16

Why is Fileinput empty when editing a kartik-v form?

I think many are familiar with the
demos.krajee.com/widget-details/fileinput
plugin , these are the settings

"pluginOptions"=>[ 
  "initialPreview"=> [
    0=> string(78) "/files/tenderInformation/test/file/Сущность_Блиц_оценка.xlsx" 
  ]	
  "initialPreviewAsData"=> true 
  "initialCaption"=> "Сущность_Блиц_оценка.xlsx"
  "initialPreviewConfig"=> [
    0=> [
      "caption"=> "Сущность_Блиц_оценка.xlsx" 
      "size"=> 8888 
      "key"=> int(19)
    ] 
  ]
  "overwriteInitial"=>false
]

and if when creating everything is ok. So if the file was loaded, then the validation shows that the file is not loaded and the FILES array with an empty file, why?

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question