department-of-veterans-affairs / va-forms-system-core

VA Forms System Core will be a React library hosted in NPM that will allow engineers and designers to easily interact with Forms inside of vets-website.
https://department-of-veterans-affairs.github.io/va-forms-system-core/
6 stars 4 forks source link

feat(#570): adding uiFormikValues to initialValues object #608

Closed bjmccotter7192 closed 2 years ago

bjmccotter7192 commented 2 years ago

Description

When the fields are not in schema formik doesn't register the field in initial values. Sometimes, there are data points (previously used in UI schema) that need to be used for the sole purpose of showing and hiding different fields. When these fields are not registered, formik doesn't hook into any validation functions for it. This needs to be added so formik registers it as an initial value.

Bumping version to 1.5.0 for this new feature.

Original issue(s)

department-of-veterans-affairs/va-forms-system-core#570

Definition of done

va-vsp-bot commented 2 years ago

:tada: This PR is included in version 1.5.0 :tada:

The release is available on GitHub release

Your semantic-release bot :package::rocket: