Hi there,
we noticed that the error message of a maxFileSize validator in an upload item is not showing. When selecting a file larger than maxFileSize, you can see the upload item flicker as it briefly shows the error which is then immediately cleared. Without the error message, the user has no idea why his file is rejected.
See here:
Reproducable with the latest SmartClient version (SmartClient_v110p_2017-03-21_Pro) and all current browsers.
Code for reproduction:
Regards
we noticed that the error message of a maxFileSize validator in an upload item is not showing. When selecting a file larger than maxFileSize, you can see the upload item flicker as it briefly shows the error which is then immediately cleared. Without the error message, the user has no idea why his file is rejected.
See here:
Reproducable with the latest SmartClient version (SmartClient_v110p_2017-03-21_Pro) and all current browsers.
Code for reproduction:
Code:
isc.DynamicForm.create({ ID: "exampleForm", width: 800, titleOrientation: "left", encoding: "multipart", fields: [ { name: "file", type: "upload", colSpan: "*", multiple: false, title: "files up to 10 MB", validateOnChange: true, validators : [{ type: "maxFileSize", maxFileSize: 10485760, errorMessage: "Maximum file size is 10 MB" }] } ] });
Regards
Comment