-
Notifications
You must be signed in to change notification settings - Fork 66
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
OH2-415 | OH2-316 | Types / Ages CRUD #689
Conversation
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.
It would be nice to add range validation, and make sure that the input ranges are valid before sending request to the backend.
it is done like that in GUI, @SilverD3 please have a look at it |
@SteveGT96 Done |
Done! |
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.
We could refactor Age Type form like follows !
src/components/accessories/admin/types/components/agetypes/ageTypesForm/AgeTypesForm.tsx
Outdated
Show resolved
Hide resolved
src/components/accessories/admin/types/components/agetypes/ageTypesForm/AgeTypeForm.tsx
Outdated
Show resolved
Hide resolved
src/components/accessories/admin/types/components/agetypes/ageTypesForm/types.ts
Outdated
Show resolved
Hide resolved
…openhospital-ui into OH2-316_age_types_crud
@SteveGT96 are the two converation resolved then? |
Yes, I think we could move on with that. |
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.
LGTM. Thanks a lot!
See OH2-316, OH2-415.
Paired with #498