Reputation: 113
I need to disable upload button. It's possible?
Upvotes: 5
Views: 14849
Reputation: 11
Maybe it's not the ideal solution but it worked for me. Add this style
.kv-file-upload {
display:none;
}
and button is gone
Upvotes: -1
Reputation: 179
Try out below code
showClose: false,
showCaption: false,
showBrowse: false,
showUpload:false,
showUploadedThumbs: false,
showPreview: true,
Upvotes: 0
Reputation: 171
here may be this can help you,
fileActionSettings: {
showRemove: false,
showUpload: false,
showZoom: true,
showDrag: false,},
Upvotes: 17
Reputation: 451
Similar to @lyhoshva,
$("#attachments").fileinput({
'showUpload': false
});
Krajee Documentation, see block 2a
Upvotes: 1
Reputation: 111
Set
'pluginOptions' => [
'showRemove' => false,
]
or, if you use js
"pluginOptions" : {
"showRemove" : false
}
Upvotes: 1