Skip to content
This repository has been archived by the owner on Aug 19, 2023. It is now read-only.

Array Toggle Field and Object Validation hooks #615

Open
larsmaxwell opened this issue Sep 6, 2022 · 0 comments
Open

Array Toggle Field and Object Validation hooks #615

larsmaxwell opened this issue Sep 6, 2022 · 0 comments
Labels
VA Forms System Core For Forms Library Team work on the new VA Forms System Core

Comments

@larsmaxwell
Copy link
Contributor

larsmaxwell commented Sep 6, 2022

This is an expansion of the core array field work in #238

  • Create a component called ArrayFieldToggle which wraps the array field. This component is responsible for showing and hiding entries in an array field. The markup and functionality for this would be passed through to the array field as the FieldArrayTemplate parameter

  • Add basic object validation hook for the array field. Which item in an object is required in order for the user to add more items to the Array field?

  • Create tests that test the toggle functionality, as well as the basic object key value validation.

  • Update the demo form on staging to use the new version of the array field.

@larsmaxwell larsmaxwell added the VA Forms System Core For Forms Library Team work on the new VA Forms System Core label Sep 6, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
VA Forms System Core For Forms Library Team work on the new VA Forms System Core
Projects
None yet
Development

No branches or pull requests

1 participant