Skip to content
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

Ability to deselect a program while creating an encounterType #1327

Open
Gojo-Taqi opened this issue Sep 9, 2024 · 1 comment
Open

Ability to deselect a program while creating an encounterType #1327

Gojo-Taqi opened this issue Sep 9, 2024 · 1 comment

Comments

@Gojo-Taqi
Copy link

Gojo-Taqi commented Sep 9, 2024

Describe the bug

Ability to deselect a program while creating an encounterType

To Reproduce

Steps to reproduce the behavior:

  1. Click on "New encounter type" to create a new encounter type.
  2. When selecting a program, the operator/user is unable to deselect the selected program.(This happened with a self-service user who had selected a program by mistake)
Screen.Recording.2024-09-16.at.6.01.40.PM.mov

AC

  • When there are no program encounters of encounter type that is under Edit, clicking on the cross icon(like we are having in all search text boxes) should unselect the selection.
  • or shall we do another selection of same option to be able to unselect it - like present for User groups in User page
Screenshot 2024-09-16 at 6 22 26 PM

Inputs:

  • cross is more visible
  • disallow - when there is data. -> later - assign/unassign
  • subject type - should also not be editable
  • bundle upload
  • form mapping
@Gojo-Taqi Gojo-Taqi moved this to New Issues in Avni Product Sep 9, 2024
@mahalakshme mahalakshme moved this from New Issues to In Analysis in Avni Product Sep 10, 2024
@mahalakshme mahalakshme moved this from In Analysis to In Analysis Review in Avni Product Sep 16, 2024
@mahalakshme mahalakshme moved this from In Analysis Review to Ready in Avni Product Sep 17, 2024
@himeshr
Copy link
Contributor

himeshr commented Sep 18, 2024

Inputs based on testing

  • During de-select operation done for Program, EncounterType, ensure that its a proper void of form mapping
  • During change from one Program / SubjectType / EncounterType to another corresponding Program / SubjectType / EncounterType, we should void the previous form mapping before creating a new one

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: In Analysis Review
Development

No branches or pull requests

2 participants