So apparently event.currentTarget can become undefined when called after async/await operations such as some image processing performed by my script.
Unfortunately I'm using event.currentTarget=null to "clear" the @change event of a file input field, which uploads images. This makes sure, that the @change event gets triggered, even if the input is identical.
- Is there a way to still set
event.currentTarget=nulleven afterasyncoperations? - Or is there another way to trigger
@changeevent even if input is identical?