-
Notifications
You must be signed in to change notification settings - Fork 25
Description
Describe the bug
For repeating items, when there is a single item populated, that item cannot be cleared/deleted (remove item button is disabled) unless another sibling item is added. This is not super intuitive but has been reasonable enough to date. Where this is really a problem is when the add new button has been intentionally disabled as the item serves to provide a view of existing data from the patient record and not to be appended to, however, users still want the ability to remove prepopulated data from the form.
To Reproduce
Example usage in the medical history section of the health check questionnaire. Video here to demonstrate.
DisabledRemoveItem.mp4
Expected behavior
Suggest the remove item button is still enabled even when only a single item in a repeating item/group is present. Clicking on this clears the form data of the item/group. Perhaps when a repeating item has no data, the remove item button is disabled.