Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

File Input installing issues #371

Open
emadalslahi opened this issue Oct 7, 2018 · 0 comments
Open

File Input installing issues #371

emadalslahi opened this issue Oct 7, 2018 · 0 comments

Comments

@emadalslahi
Copy link

emadalslahi commented Oct 7, 2018

kartik-v/yii2-widget-fileinput it was working well before updating and requiering for "yiisoft/yii2-bootstrap4": "@dev"

now it's does not showing the initial image .. update senario

also i cannot install "yiisoft/yii2-bootstrap4": "@dev" using composer >> it's say you cannot install this

how to show initial image...

field($model, 'myfile')->widget(FileInput::classname(), [ 'options' => [ 'accept' => 'image/*', 'multiple' => false, // 'disabled' => true ], 'pluginOptions' => [ 'initialPreview' => [ $priv, // Url::to('@front-end-imgs/' . $model->slider_image, true) ], 'initialPreviewAsData' => true, 'overwriteInitial' => true, 'showUpload' => true, 'browseLabel' => '', 'removeLabel' => '', 'cancelLabel' => '', 'mainClass' => '', ], ]) ?>

this is my code ...


Want to back this issue? Post a bounty on it! We accept bounties via Bountysource.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant