FileUpload: How to handle file removal?

I need to show a checkbox if the upload contains executable files. This works for the initial file upload. But if the user removes files he already uploads (and removes the executables) the checkbox is still shown. I use the afterStateUpdate-method to hide/show the checkbox. But sadly afterStateUpdated is not called if a file is removed in the FileUpload-component. Is this a bug? Is there another method to achieve the desired behaviour?
0 Replies
No replies yetBe the first to reply to this messageJoin
Want results from more Discord servers?
Add your server