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.
When opening up the example simple-form and selecting checkbox values, those values don't update to true in the debug readout, and the required validation error message remains no matter how many values are checked.
Expected: checkbox values update the validation state and form data debug display
Actual: checking a checkbox doesn't change state of form values and validation error remains
Using version: 0.0.6 on MacOS Monterey 12.4, Chrome 103.0.5060.114
Steps to reproduce:
Edit examples/index.jsx to import and use SimpleApp from 'simple-form/index.jsx`
Run yarn serve-examples and open localhost:3000
Check a checkbox and observe validation message and debug readout
Adam: Is it the checkbox group, or something specific to how the form is wired up?
Micah: We can double check to make sure things are put together properly.
Adam: No immediate need for checkboxes, but will likely be using a radio group.
BJ: On the demo burial form, the check box group does not have the required tag inside each option anymore. That’s the one difference he sees right now between the demo form and the simple form.
Description:
When opening up the example
simple-form
and selecting checkbox values, those values don't update totrue
in the debug readout, and the required validation error message remains no matter how many values are checked.Expected: checkbox values update the validation state and form data debug display Actual: checking a checkbox doesn't change state of form values and validation error remains
Using version: 0.0.6 on MacOS Monterey 12.4, Chrome 103.0.5060.114
Steps to reproduce:
examples/index.jsx
to import and use SimpleApp from 'simple-form/index.jsx`