After choosing "no," the object should be { yesOrNo: 'No', whyNot: null, anotherField: null }. Instead, the resulting object is just { yesOrNo: 'No', anotherField: null }. Even submitting the form won't cause the key to populate; it only shows up after changing "Another field."
Fields placed inside a
<Conditional>
only populate in the validator object after another field is modified.After choosing "no," the object should be
{ yesOrNo: 'No', whyNot: null, anotherField: null }
. Instead, the resulting object is just{ yesOrNo: 'No', anotherField: null }
. Even submitting the form won't cause the key to populate; it only shows up after changing "Another field."