-
Notifications
You must be signed in to change notification settings - Fork 66
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
(feat): O3-3685: Enable Deleting or Clearing Files in File Picker Component in Edit Mode #394
Conversation
Thanks for this @TrevorAntony. LGTM. |
@TrevorAntony The "Clear File" button seems to be overlapped by the side rail. I think we should have an actions menu associated with the file itself, or we could simply place the delete button next to the attachment. This is important considering that we plan to support capturing multiple attachments. Feel free to ask for some UX advisory if necessary. |
@TrevorAntony are you still working on this? |
@samuelmale Not at the moment. |
@TrevorAntony Are you planning to pick this back up, and if so, when? |
Requirements
When a file is selected using the file picker component and the form is later opened in edit mode, there is currently no option to delete or clear the selected file.
Summary
The user can now successfully edit an encounter and add or remove an image/file by clearing it.
Screenshots
Related Issue
https://openmrs.atlassian.net/browse/O3-3685
Other
the delete persists on form submission and reloading