Is your feature request related to a problem? Please describe.
Currently, the pap edit form is designed to minimize data loss when user is editing. Instead of removing irrelevant data, they are kept and the input is disabled from editing. This is not ideal and would cause inconsistencies when reports are generated. For example, a PAP not tagged as PIP may have a typology.
Describe the solution you'd like
When a user tries to modify an input that has dependencies, the user will be prompted to review and modify the related inputs. For example, when the user tries to remove the PIP tagging, they will be asked to remove also the typology. This action can be done first before the final pip removal. all of these will be kept in a payload that will be sent to the server only upon the user's approval.
Say, the user wants to untag the PIP tagging of the pap. The step would be:
The switch is shown.
Once the user tries to submit the data, they will be presented with succeeding screens that show the other changes to be made. At any point, the user can cancel.
Finally, the user confirms the submission of changes.
Is your feature request related to a problem? Please describe. Currently, the pap edit form is designed to minimize data loss when user is editing. Instead of removing irrelevant data, they are kept and the input is disabled from editing. This is not ideal and would cause inconsistencies when reports are generated. For example, a PAP not tagged as PIP may have a typology.
Describe the solution you'd like When a user tries to modify an input that has dependencies, the user will be prompted to review and modify the related inputs. For example, when the user tries to remove the PIP tagging, they will be asked to remove also the typology. This action can be done first before the final pip removal. all of these will be kept in a payload that will be sent to the server only upon the user's approval.
Say, the user wants to untag the PIP tagging of the pap. The step would be:
Describe alternatives you've considered N/A
Additional context N/A