fix for file_upload not getting validated in safari
This commit is contained in:
parent
058ad077ee
commit
b603c2facf
@ -59,6 +59,7 @@
|
||||
resetFileLabel();
|
||||
input.classList.add('file-input__input--hidden');
|
||||
input.addEventListener('change', function() {
|
||||
input.dispatchEvent(new Event('input'));
|
||||
if (isMulti) {
|
||||
renderFileList(input.files);
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user