department-of-veterans-affairs / va.gov-team

Public resources for building on and in support of VA.gov. Visit complete Knowledge Hub:
https://depo-platform-documentation.scrollhelp.site/index.html
281 stars 197 forks source link

[UX/FE] 10-10EZR V2 Flow: Review the new List & Loop patters for use in V2 flow #83238

Closed alexseelig closed 3 months ago

alexseelig commented 3 months ago

As a team member, I would like to understand what of the new list & loop patterns we can use so we can spend less time on custom development and more time on improving the flow of the EZR.

IMHieuVo commented 3 months ago

The Multi Response List & Loop (Array Builder Pattern) functions very similar to how we currently use it in the Dependent and Insurance info section of our forms. This pattern can be deployed to our NOK/EC work with minimal changes. The save-in-progress logic and error message are included as well.

This pattern is for similar items utilizing the same array, not different arrays (Address vs email/phone). If we want to include the mailing address, home address, and email/phone; it would have to be a custom page utilizing some of the array builder components.