vendredi 23 octobre 2020

Problem with set initialValues for checkboxes in react-hook-form

here is my example: https://codesandbox.io/s/frosty-bush-pmc5f?file=/src/CheckboxDisplay.js

I have problem, because i want set initialParameters members.fields to checkboxes that these tags will choosed at the beginning and will display in our input.

For the moment it work, that we can choose tags and save what we choosed.

I want display tags which are in object members in data.js file

Anyone know answer to this question?




Aucun commentaire:

Enregistrer un commentaire