lundi 2 novembre 2020

Problem with set initialValues for checkboxes in react-hook-form. In Inputs, dropdowns works great. Why?

here is my example: https://stackblitz.com/edit/react-fa1w2w

I have problem, because i want set initialParameters editData.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 editData in data.js file

Anyone know answer to this question?




Aucun commentaire:

Enregistrer un commentaire