You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Ademas uso:
use kartik\file\FileInputAsset;
FileInputAsset::register($this);
Ese error me rompe el codigo y no me permite avanzar con la carga del formulario.
El error sucede en la linea 1225:
Como lo puedo solucionar?
The text was updated successfully, but these errors were encountered:
Al usar Fileinput de Kartik, me genera el siguiente error:
Query.Deferred exception: fileinput_3566bbac is not defined ReferenceError: fileinput_3566bbac is not defined
at HTMLDocument. (http://localhost:8080/mjg_main_persona/createuser?id=4:1225:47)
at mightThrow (http://localhost:8080/assets/6706b111/jquery.js:3489:29)
at process (http://localhost:8080/assets/6706b111/jquery.js:3557:12) u
El codigo ingresado en un formulario para un archivo de vista en yii2 es:
field($model, 'profile')->widget(FileInput::classname(), [ 'options' => ['accept' => 'image/*'], 'pluginOptions' => [ 'showPreview' => true, 'showCaption' => true, 'showRemove' => true, 'showUpload' => false, ], ]); ?>Ademas uso:
use kartik\file\FileInputAsset;
FileInputAsset::register($this);
Ese error me rompe el codigo y no me permite avanzar con la carga del formulario.
El error sucede en la linea 1225:
Como lo puedo solucionar?
The text was updated successfully, but these errors were encountered: