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

O3-3021 Search Input Field Not Cleared or Reset After Selection #36

Merged
merged 1 commit into from
Apr 3, 2024

Conversation

CynthiaKamau
Copy link
Contributor

Requirements

  • This PR has a title that briefly describes the work done including a conventional commit type prefix and a Jira ticket number if applicable. See existing PR titles for inspiration.

For changes to apps

If applicable

  • My work includes tests or is validated by existing tests.

Summary

Search Input Field Not Cleared or Reset After Selection

Screenshots

Screen.Recording.2024-04-03.at.10.27.25.mov

Related Issue

Other

@CynthiaKamau CynthiaKamau requested a review from ODORA0 April 3, 2024 07:56
@@ -82,7 +86,7 @@ const BillingForm: React.FC<BillingFormProps> = ({ patientUuid, closeWorkspace }

const anyInvalidQuantity = updatedItems.some((item) => item.Qnty <= 0);

setBillItems(updatedItems);
// setBillItems(updatedItems);
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@CynthiaKamau Delete this since it is used elsewhere

@@ -120,7 +124,7 @@ const BillingForm: React.FC<BillingFormProps> = ({ patientUuid, closeWorkspace }
}

setBillItems(updatedItems);
setSearchOptions([]);
// setSearchOptions([]);
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This too

@ODORA0 ODORA0 merged commit e7ca862 into main Apr 3, 2024
5 checks passed
@ODORA0 ODORA0 deleted the O3-3021 branch April 3, 2024 08:48
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.

2 participants