Allowed Extension in upload activity


Hi all,

I am having an issue changing the "Allowed extension" in the "File upload" activity.

When I make the activity, I list the ""Allowed Extension" as "jpg png pdf" rather than the default "txt doc docx xls xlsx ppt pptx pdf odt ods odp"

However, when doing the activity, the user is limited only to the default list: "Allowed types: txt doc docx xls xlsx ppt pptx pdf odt ods odp."

Is there a reason for this and is there anyway to upload images if not by this method.

Any help is appreciated.




There are no interface at the moment to manage the file extensions, they come from yml configs: modules/opigno/opigno_module/ActivityTypes/opigno_file_upload/config/optional/field.field.opigno_answer.opigno_file_upload.opigno_file.yml modules/opigno/opigno_module/ActivityTypes/opigno_file_upload/config/optional/field.field.opigno_activity.opigno_file_upload.opigno_allowed_extension.yml You can simply edit these configs and re-import them.