When I try to put a checkbox inside a form element the checkbox does not check and uncheck as expected. If I just use a Checkbox outside of a FormElement tag it works as expected. I noticed the first example on this page https://www.telerik.com/kendo-react-ui/components/inputs/checkbox/forms-support/ acts similarly to mine. Is this a known issue? Is there a working sample I could use?
<Form
onSubmit={handleSubmit}
render={(formRenderProps) => (
<FormElement>
<fieldset className={"k-form-fieldset"}>
<div className="mb-3">
<Field
name={"active"}
component={Checkbox}
label={"Active"}
value={active}
onChange={handleActiveChange}
/>
</div>
</fieldset>
<div className="k-form-buttons">
<button
type={"submit"}
className="btn btn-primary btn-sm"
disabled={!formRenderProps.allowSubmit}
>
Submit
</button>
</div>
</FormElement>
)}
/>
Does not seem to work on the first form on this link either. https://www.telerik.com/kendo-react-ui/components/form/guidelines-with-examples/