mercredi 10 février 2021

Error "Property 'checked' does not exist on type 'HTMLInputElement'"

I am trying to implement a Checkbox using the Unform, the documentation is below.

https://unform.dev/examples/checkbox

But when I copy the code for the component, I get this error:

https://i.stack.imgur.com/UUfAc.png

"Property 'checked' does not exist on type 'HTMLInputElement'."




Aucun commentaire:

Enregistrer un commentaire