how to bound a state variable to a field react final form
<Form
onSubmit={onSubmit}
initialValues={{ field1: "2019-02-02" }}
render={({ handleSubmit, form, submitting, pristine, values }) => (
<form onSubmit={handleSubmit}>
<div>
<label>Feild One</label>
<Field name="field1" component="input" type="date" />
</div>
.
.
.