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
When using an Upload component in a Modal form, if the user uses the small delete icon next to the uploaded file to remove the file from the uploaded file list, when the form is submitted the upload file information still exists in the form data passed to the on_submit function.
This is problematic for my use case as the user can either select a file from a SelectBox component or upload a new file using the Upload component. If both are specified it is difficult to decide which one should be used. And in the case they upload a file but then decide they don't want to use that file and delete it then the file information should also be erased from the form data dictionary, indicating no file is available as yet.
The text was updated successfully, but these errors were encountered:
When using an Upload component in a Modal form, if the user uses the small delete icon next to the uploaded file to remove the file from the uploaded file list, when the form is submitted the upload file information still exists in the form data passed to the on_submit function.
This is problematic for my use case as the user can either select a file from a SelectBox component or upload a new file using the Upload component. If both are specified it is difficult to decide which one should be used. And in the case they upload a file but then decide they don't want to use that file and delete it then the file information should also be erased from the form data dictionary, indicating no file is available as yet.
The text was updated successfully, but these errors were encountered: