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

OHRI-2304: failling expression and error rendering field causing L&d form not to save #155

Merged
merged 2 commits into from
Jul 29, 2024

Conversation

lucyjemutai
Copy link
Collaborator

@lucyjemutai lucyjemutai commented Jul 25, 2024

This PR resolves two errors;

  1. The hiv_test_status is not defined in the form.

image

  1. the Error rendering field Invalid time value when the Already on ART is selected... I added a validation that
    ensures that formatDate(latest_anc_art_start_date) is only executed if latest_anc_art_start_date is present .

If latest_anc_art_start_date is empty, it will return an empty string. This prevents formatting errors

@lucyjemutai lucyjemutai requested a review from Herobiam July 25, 2024 12:40
@lucyjemutai lucyjemutai reopened this Jul 25, 2024
@lucyjemutai lucyjemutai marked this pull request as ready for review July 25, 2024 13:29
@lucyjemutai lucyjemutai marked this pull request as draft July 25, 2024 14:49
@lucyjemutai lucyjemutai marked this pull request as ready for review July 29, 2024 07:56
@lucyjemutai lucyjemutai changed the title failling expression OHRI-2304: failling expression and error rendering field causing L&d form not to save Jul 29, 2024
@lucyjemutai lucyjemutai requested review from alaboso and ODORA0 July 29, 2024 09:58
@lucyjemutai lucyjemutai merged commit 538393f into demo Jul 29, 2024
10 checks passed
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 this pull request may close these issues.

3 participants