@tft/crispr-forms 13.0.2 → 13.0.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1320,7 +1320,7 @@ function allowedFileExtValidator(allowedFileExtensions, onlyAllowFiles = true) {
1320
1320
  const isFile = controlValue instanceof File;
1321
1321
  if (!onlyAllowFiles && !isFile)
1322
1322
  return null;
1323
- const actualExtension = isFile ? controlValue.name.split('.').pop() : 'Not a file';
1323
+ const actualExtension = isFile ? controlValue.name.split('.').pop().toLocaleLowerCase() : 'Not a file';
1324
1324
  const isAllowedExtension = allowedFileExtensions.includes(actualExtension);
1325
1325
  if (isAllowedExtension) {
1326
1326
  return null;