github kartik-v/bootstrap-fileinput v5.2.8
Version 5.2.8

latest releases: v5.5.4, v5.5.3, v5.5.2...
2 years ago

Date: 10-May-2022

  • (enh #1787): Enhance image size validation messages.
  • (enh #1786): Correct Uzbek Cyrillic Translation file name.
  • (enh #1784): Correct documentation for layoutTemplates.fileIcon.
  • (bug #1783): Correct image size validation checks (for min and max width/height).
  • (enh #1782): Correct loading indicator reset for file selection.
  • (bug #1780): Correct autoReplace behavior to clear already uploaded thumbnails.
  • (enh #1779): New plugin method showUserError and new event fileusererror.
    Usage:
var $input = $('#file-input-id');
$input.on('fileuploaderror', function(event, data) {
  var userMessage = 'We could not process the upload because of a server error.';

  // to show error specific to each file pass `data` as received above (the `data` object must contain the `fileId` property)
  $input.fileinput('showUserError', userMessage, data);

  // to show a constant global error not specific to each file do not pass `data` (uncomment below line to achieve this)
  // $input.fileinput('showUserError', userMessage); 
});
  • (enh #1777): Ensure alt property for image is applied via intial preview config if set.
  • (bug #1775): Correct syntax error for Danish translations.
  • (bug #1773): Fix blank preview issue for large files > maxFilePreviewSize.
  • (enh #1771): Human readable sizes in messages like msgSizeTooLarge.

Don't miss a new bootstrap-fileinput release

NewReleases is sending notifications on new releases.