-
Notifications
You must be signed in to change notification settings - Fork 30
Open
Description
Hi,
I have a problem with the sortable option.
Someone can give me some help please ?
Here is my configuration :
images:
label: '1 Picture Minimum and 5 Pictures Maximum - Maximum 3 Mo / picture - PNG or JPG'
dbType: collection
formType: afe_collection_upload
addFormOptions:
attr:
accept: "image/jpeg, image/png" # http://stackoverflow.com/questions/11832930/html-input-file-accept-attribute-file-type-csv/11834872#11834872
primary_key: id
nameable: false
sortable: true
sortable_field: position
editable: [ path, position ]
type: \Tranoi\DesignerInscritBundle\Form\Type\ImageAdmin\EditType
maxNumberOfFiles: 5
maxFileSize: 5000000
minFileSize: 1000
acceptFileTypes: /(\.|\/)(gif|jpe?g|png)$/i
loadImageFileTypes: /^image\/(gif|jpe?g|png)$/i
loadImageMaxFileSize: 2500000
previewMaxWidth: 100
previewMaxHeight: 100
previewAsCanvas: true
previewFilter: thumb_gallery_images_admin_list
prependFiles: true
allow_add: true
allow_delete: true
error_bubbling: false
options:
data_class: Tranoi\DesignerInscritBundle\Entity\Image
Thanks
Metadata
Metadata
Assignees
Labels
No labels