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
[Cases - Symptoms Tab] Page can not be saved if a future date is set for 'Date of symptom onset' #8111
Comments
I hope I understood this point.
|
|
@bernardsilenou Is there any reason why we allow entering the symptom onset date without symptoms on creation forms but prevent entering this field on symptoms tabs without specifying a symptom as yes? The latter makes sense but makes it inconsitent and prevents easy corrections. |
@kwa20
|
…ab-cannot-be-saved-if-date-of-symptom-onset-is-in-the-future #8111 - Clear Date of symptom onset when there are no symptoms selected
I tested it on my local machine (90242d6) and it seems like the error message part has been fixed, but further problems appeared after the fix:
|
…age-cannot-be-saved #8111 - Preserv symptom date if it was set
Verified ticket on local environment using the latest version of Sormas 1.70.0-SNAPSHOT (48fad26) from the development branch. |
Bug Description
In the 'Symptoms' tab, the page can not be saved, if there are no symptoms checked, but previously a future date was set for 'Date of symptom onset'.
Steps to Reproduce
Actual Behavior
The 'First symptom' dropdown was cleared; the 'Date of symptom onset' field was not cleared and the user can not save the page.
Expected Behavior
The 'Date of symptom onset' field should be cleared and the user should be able to save the page.
Screenshots
System Details
Additional Information
The text was updated successfully, but these errors were encountered: