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
The FormFileUpload currently doesn't emit the onChange event when you choose the same file again.
A solution to it would be implement a new event prop that emits when click on the <input type="file"> element, then the parent component can clear the file input when clicking again to choose a new file.
Description
The
FormFileUpload
currently doesn't emit the onChange event when you choose the same file again.A solution to it would be implement a new event prop that emits when click on the
<input type="file">
element, then the parent component can clear the file input when clicking again to choose a new file.See Automattic/woocommerce-payments#460.
Step-by-step reproduction instructions
FormFileUpload
component with aonChange
event.It will not emit the
onChange
event again, not working as expect for the end user.Screenshots, screen recording, code snippet
Environment info
No response
Please confirm that you have searched existing issues in the repo.
Yes
Please confirm that you have tested with all plugins deactivated except Gutenberg.
Yes
The text was updated successfully, but these errors were encountered: