Closed sirajulmcb closed 4 years ago
Issue when trying to set the checkbox with a common name as array using react-hook-form. Could be that it is something not expected. Fixed by storing the checkboxes as object instead of string array, and transform them on submit as array.
Issue when trying to set the checkbox with a common name as array using react-hook-form. Could be that it is something not expected. Fixed by storing the checkboxes as object instead of string array, and transform them on submit as array.