-
Notifications
You must be signed in to change notification settings - Fork 133
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
ImageUpload component #237
Conversation
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
Kudos, SonarCloud Quality Gate passed! 0 Bugs No Coverage information |
24470d9
to
5bca58d
Compare
Kudos, SonarCloud Quality Gate passed! 0 Bugs No Coverage information |
I think this code is a little bit outdated; maybe we can try to add a Formiz integration of react-uploady to handle those cases ? There is a guide to do it with cloudinary: https://react-uploady.org/docs/guides/Cloudinary/ |
5bca58d
to
534b8ec
Compare
Kudos, SonarCloud Quality Gate passed! 0 Bugs No Coverage information |
Cloudinary is a bit overpriced, we decided not to go with it in the starter. |
Description
Adding a new component
ImageUpload
that let the user upload an image to cloudinary, display it, and remove it. This component also has its Field counterpart to integrate with Formiz.Component
The component as an API similar to an input component, with chakra props support.
The component also supports custom placeholder.
The image upload does not work properly with MirageJS, even when passthourgh is enabled. Right now, the upload of the image will work, but the function will get stuck in a pending state and won't return.
I am currently looking for a solution on the matter.
Related to issue #222