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

Create Consultation: Add new diagnostic bug #240

Open
PohAnson opened this issue Oct 17, 2024 · 0 comments · May be fixed by #242
Open

Create Consultation: Add new diagnostic bug #240

PohAnson opened this issue Oct 17, 2024 · 0 comments · May be fixed by #242
Assignees

Comments

@PohAnson
Copy link

there is a bug in deleting assessment, the type is not updated properly
After deleting the 1st diagnosis, if the 2nd one is empty, the 2nd one will get updated with the previous 1st diagnosis

20241017-1320-00.4983093.mp4
@PohAnson PohAnson changed the title Create Consultation Create Consultation: Add new diagnostic bug Oct 17, 2024
@PohAnson PohAnson self-assigned this Oct 17, 2024
PohAnson added a commit that referenced this issue Oct 22, 2024
Current issue is caused when category is not set, hence the default option is not selected. I think why the 1st option is not re-rendered is because the key is not changed, so react think that it is the same element. The key is only dependent on which position the diagnosis is in.
@PohAnson PohAnson linked a pull request Oct 22, 2024 that will close this issue
@PohAnson PohAnson linked a pull request Oct 22, 2024 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant