We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Everything is wonderful until I click reset button. My code html:
<form class="form-validate form-horizontal" id="user_form" method="post" enctype="multipart/form-data"> <div class="kv-avatar center-block text-center" style="width:200px"> <input id="avatar-1" name="hinhanh" type="file" class="file-loading"> <div class="help-block"><small>Allow size < 1000 KB</small></div> <input type="submit" class="form-control"> <input type="reset" class="form-control"> </form>
and javascript config code:
$("#avatar-1").fileinput({ overwriteInitial: true, maxFileSize: 1500, showClose: false, showCaption: false, showBrowse: false, browseOnZoneClick: true, removeLabel: '', removeIcon: '<i class="glyphicon glyphicon-remove"></i>', removeTitle: 'Cancel or reset changes', elErrorContainer: '#kv-avatar-errors-2', msgErrorClass: 'alert alert-block alert-danger', defaultPreviewContent: '<img src="/uploads/default_avatar_male.jpg" alt="Your Avatar" style="width:160px"><h6 class="text-muted">Click to select</h6>', layoutTemplates: {main2: '{preview} {remove} {browse}'}, allowedFileExtensions: ["jpg", "png", "gif"] });
The text was updated successfully, but these errors were encountered:
5ee4b0b
No branches or pull requests
Everything is wonderful until I click reset button.
My code html:
and javascript config code:
The text was updated successfully, but these errors were encountered: