You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
File input javascript handler initialized in assets/js/field-file-upload.js is only done on page load. When having FileUploadType in collection the initializer is not called when adding new item into the collection.
To Reproduce
Version: latest (v4.20.2)
Have a collection with FileUploadType in your form
Add new item
Select a file to upload
You should be able to see filename and its size, but instead it looks like you did not select a file.
Additional context
Need to modify field-file-upload.js
Describe the bug
File input javascript handler initialized in assets/js/field-file-upload.js is only done on page load. When having FileUploadType in collection the initializer is not called when adding new item into the collection.
To Reproduce
Version: latest (v4.20.2)
Have a collection with FileUploadType in your form
Add new item
Select a file to upload
You should be able to see filename and its size, but instead it looks like you did not select a file.
Additional context
Need to modify field-file-upload.js
document.addEventListener('ea.collection.item-added', function(){
setTimeout(function () {
eaFileUploadHandler
}
}, 1000);
} );
The text was updated successfully, but these errors were encountered: