How to use react-dropzone with react-hook-form so that the form returns proper file - not just file name?
When creating a product I use React-Dropzone but when editing I intend to use it in the same way. I would like that when editing the product, the images that ar
I am using react-dropzone plugin for file uploads. I worried how i can convert each file to base64: eg: Here is my function where i get files: I am creatin
I am using react-dropzone plugin for file uploads. I worried how i can convert each file to base64: eg: Here is my function where i get files: I am creatin
const { acceptedFiles, getRootProps, getInputProps, isDragActive, isDragAccept, isDragReject, } = useDropzone({ accept: ".csv", }); console.log(is