form.yaml 680 B

123456789101112
  1. enabled: true
  2. built_in_css: true
  3. refresh_prevention: false
  4. files:
  5. multiple: false # To allow multiple files, default is single
  6. limit: 10 # Number of allowed files per field (multiple required)
  7. destination: 'self@' # Where to upload the files (path and self@, page@, theme@)
  8. avoid_overwriting: false # Prevent files with the same name to be overridden. Date prefix will be added
  9. random_name: false # Generate a random 15 long string name for the uploaded files
  10. filesize: 0 # Maximum file size allowed (in MB)
  11. accept: # List of mime/types or file extensions allowed (ie, image/*,.zip,.mp4)
  12. - image/*