File Type validation not working post upgrade to 2204 in Chrome
Summary:
Hi,
We have implemented a upload functionality in our app where in the action chain we are first validating if the file type in CSV in JS. This was working before upgrade. Post upgrade to 2204 same code is not working in Chrome but working in Firefox.
Content (required):
Version (include the version you are using, if applicable):
Release - 2204
VB Runtime version - 2204.2.0
Jet Version - 11.1.5
Code Snippet (add any code snippets that support your topic, if applicable):
PageModule.prototype.validateFileType = function (uploadedFile) {
if (uploadedFile[0].type == "application/vnd.ms-excel" ) {
return true;
}
return false;
};
Tagged:
0