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

change number input to text input #49

Merged
merged 1 commit into from
May 23, 2024
Merged

change number input to text input #49

merged 1 commit into from
May 23, 2024

Conversation

ODORA0
Copy link
Member

@ODORA0 ODORA0 commented May 23, 2024

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

Screenshots

Related Issue

Other

@ODORA0 ODORA0 merged commit e4b087f into openmrs:main May 23, 2024
5 checks passed
@@ -157,7 +158,7 @@ const ChangeStatus: React.FC<BillLineItemProps> = ({ bill, item, closeModal }) =
name="price"
control={control}
render={({ field: { value } }) => (
<NumberInput
<TextInput

Choose a reason for hiding this comment

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

why do we need the change?

Copy link
Member Author

Choose a reason for hiding this comment

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

@ojwanganto
image
Since this would be a readonly, having the number controls at the end were not important so using the text input makes sense just so a user doesn't have the impression it can be editable somehow

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