-
Notifications
You must be signed in to change notification settings - Fork 0
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
(Review second) Update FI profile - phase3 (part II) #282
Conversation
- [Add] Fetch Institution data - [Add] Breadcrumb to return to View page
- [Add] Review FI details
…d include in submitted DTO
…nd include in submitted DTO
…de in submitted DTO
…de in submitted DTO
…"Other" details text
…ion of defaultValues
Co-authored-by: S T <shindigira@gmail.com>
- Improved population of existing form data - Temp fix for TextArea resizing issue - Implements `Clear form` functionality
…b/sbl-frontend into 222-update-fi-profile-phase1
… LEI (#290) closes #273 ### Changes - feat: Moved `ProfileForm` types to `types/formTypes`. - feat: Addressed the extra _approval_ field on `Get Associated Institution` request. - feat: Adds the `getZodKeys` function to extract flattened fields from Zod Schemas - todo: Added TODO for handling the edge case of where fetched financial institutions fail input validation - #292 ### Notes @meissadia This should be used in Phase 4 of Update your Financial Institution - Zod and TypeScript handling ### Reference - getZodKeys: colinhacks/zod#2134
Co-authored-by: S T <shindigira@gmail.com>
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.
Should updates types handling based on the backend schema.
src/pages/Filing/UpdateFinancialProfile/UpdateIdentifyingInformation.tsx
Show resolved
Hide resolved
…on type, it will always be an Object
@shindigira Can we get a re-review on this? |
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.
Working great. Many of the changes will be in your Phase 4 PR and thus ignored here.
Part 2 of #222
Changes
defaultValues
with existing Institution dataClear form
functionalityid=stuff
TODO
How to test this PR
setIsRoutingEnabled(true)
)View
it's profileUpdate your financial institution profile
Clear form
button, observe that the edited data is resetSubmit
/summary
route and shown a simulated "Success" confirmationdata to be submitted (before format)
and confirm the field you edited reflects the data you entered