-
Notifications
You must be signed in to change notification settings - Fork 124
Closed
Description
Hi,
I'm sorry if maybe this issue doesn't belong here but i'm using avocod with admingenerator and both are linked so...
I try to make this field riquiered but i hav this error :
The option "required" has the value "1", but is expected to be one of ""
Here is my code in ApplyAdmingenerator.yml
lookbook1File:
label: Lookbook 1
formType: afe_single_upload
dbType: string
addFormOptions:
attr:
accept: "image/jpeg, image/png, application/pdf"
help: "Only JPEG, PNG and PDF file are accepted. Maximume file size 3M"
required: true
deleteable: lookbook1
data_class: Symfony\Component\HttpFoundation\File\File
previewImages: true
previewAsCanvas: true
previewFilter: thumb_apply1
Thanks
Metadata
Metadata
Assignees
Labels
No labels