-
Notifications
You must be signed in to change notification settings - Fork 248
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
(fix) O3-2657: Show inline errors when saving orders fails #1667
(fix) O3-2657: Show inline errors when saving orders fails #1667
Conversation
144ecfd
to
d8499a9
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks. This mostly LGTM, but a couple of things need adjusting. In particular, avoid types that are implicitly any
wherever possible.
packages/esm-patient-medications-app/src/add-drug-order/drug-order-form.component.tsx
Outdated
Show resolved
Hide resolved
This LGTM! |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Very small adjustments, then this should be good to go.
e2d2465
to
f5dca54
Compare
f5dca54
to
f95b688
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Mostly LGTM. I've left some suggestions.
packages/esm-patient-orders-app/src/order-basket/order-basket.workspace.tsx
Outdated
Show resolved
Hide resolved
packages/esm-patient-orders-app/src/order-basket/order-basket.workspace.tsx
Outdated
Show resolved
Hide resolved
packages/esm-patient-orders-app/src/order-basket/order-basket.workspace.tsx
Outdated
Show resolved
Hide resolved
packages/esm-patient-orders-app/src/order-basket/order-basket.workspace.tsx
Outdated
Show resolved
Hide resolved
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks, @usamaidrsk!
The requested changes have been implemented in subsequent commits.
Requirements
Summary
This PR add showing inline errors when saving an order fails, reading fieldErrors failed submission. Also add that quantity to dispense and quantity units to be required.
Screenshots
Related Issue
Other
O3-2657