Describe the bug and the expected behavior
If an element disappears from the form it's value is then wiped from the form.value.
I'd built quite a deeply nested tab-based form and discovered that when React removes an element from the DOM then conform also removes that value from form.value. I'd expect the data to stay as it was in the last state before the element was removed from the DOM.
Conform version
v1.0.1
Steps to Reproduce the Bug or Issue
- Go to the sandbox
- Change the dropdown to a different value
- See that the
bike or car object is removed from the form.value
For the sake of this demo I've used a select but this was initially discovered when I was using tabs
What browsers are you seeing the problem on?
Chrome, Firefox, Microsoft Edge, Safari, Others
Screenshots or Videos
No response
Additional context
No response
Describe the bug and the expected behavior
If an element disappears from the form it's value is then wiped from the
form.value.I'd built quite a deeply nested tab-based form and discovered that when React removes an element from the DOM then
conformalso removes that value fromform.value. I'd expect the data to stay as it was in the last state before the element was removed from the DOM.Conform version
v1.0.1
Steps to Reproduce the Bug or Issue
bikeorcarobject is removed from theform.valueFor the sake of this demo I've used a select but this was initially discovered when I was using tabs
What browsers are you seeing the problem on?
Chrome, Firefox, Microsoft Edge, Safari, Others
Screenshots or Videos
No response
Additional context
No response