When using FastField and a checkbox's initial value is true the checkbox isn't checked. The code sandbox shows that Field works but FastField doesn't.
Checked on true
| Software | Version(s) |
| ---------------- | ---------- |
| Formik | 2.1.4
| React | 16.12
| TypeScript |
| Browser | Safari, Chrome
| npm/Yarn | yarn 1.22
| Operating System | macOS Catalina
That works but is it a workaround? I thought Field and FastField should act the same other than if the component should update? If you look at my original example Field works just fine without using the checked=value but FieldFast doesn't. I would think you could switch FastField and Field have the same functionality (other than if component should update).
Maybe they forgot to implement for type="checkbox"
FastField define "field" props in different way than Field, and it's looks lik not complet:
value is set to undefined, but checked is not set for this cases....
Fixed with https://github.com/formium/formik/pull/2874