ImageUploader Userform #56

Merged
Yash-R merged 3 commits from main into main 2020-10-30 09:12:30 +01:00
Showing only changes of commit 791f88d1e1 - Show all commits

View File

@@ -48,21 +48,6 @@ const UserForm = (props) => {
validation={{ required: true }}
/>
<FieldError name="email" className="rw-field-error" />
{/* <Label
name="image"
className="rw-label"
errorClassName="rw-label rw-label-error"
>
Image
</Label>
<TextField
name="image"
defaultValue={props.user?.image}
className="rw-input"
errorClassName="rw-input rw-input-error"
/>
<FieldError name="image" className="rw-field-error" /> */}
<ImageUploader onImageUpload={({cloudinaryPublicId}) => setImageUrl(cloudinaryPublicId)} />
<Label