I have a simple reactjs which has inputs in it. One of those inputs is set as such:
<input type='text' name='name' defaultValue='default' />
When I submit the form, I prevent default, and pass the event.target to a function that serializes the data in the form.
But, when I pass the form as an element, the input inside always retains its defaultValue.
Any ideas?