-
Notifications
You must be signed in to change notification settings - Fork 3
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
feat(UI): Add query/hook for forms API to UI #183
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.
just one small change please
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.
Things are coming together its awesome to see
🎉 This PR is included in version 1.5.0-val.1 🎉 The release is available on GitHub release Your semantic-release bot 📦🚀 |
Purpose
This allows the UI to receive form data from the API
Linked Issues to Close
https://qmacbis.atlassian.net/browse/OY2-25508
Approach
It adds a
useGetForm
method that submits a form ID and form version and receives a JSON object for the requested form.Assorted Notes/Considerations/Learning
We wrapped the returned data in the
response
wrapper to handle CORS issues, etc.