-
-
Notifications
You must be signed in to change notification settings - Fork 22
Image Input Adding Feature Added for Custom Forms #8
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
Conversation
->image() | ||
->imageEditor() | ||
->label(__($field['label'])) | ||
->required($field['required']); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think we should put one parameter to inform where you will do an upload.
Because of now, is not easy to manage it.
'custom_field_6' => [ | ||
'type' => TypeFieldEnum::Image->value, | ||
'label' => 'Custom Number 6', | ||
'required' => true, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
You only forget to put the directory variable in this part of the documentation for make some tests before merge :D
Hey man @mahallemuhtari When testing your code I'm receiving this error |
I've been working on it for a few days, but I couldn't find a solution. If there are 2 custom_tabs and a photo is uploaded in the first one, there is no problem. But if there is only one custom_tabs and you try to upload photos there, there is a problem. The problem is that it does not save the image json properly, it saves the uuid as missing. I Couldn't Get Away With The Problem Right Now |
No description provided.