Skip to content

Support configurable file type for file upload controls#49

Merged
alexanderoster merged 1 commit into
alexanderoster:developfrom
krixkrix:configurable_file_type_for_fileupload
Dec 7, 2025
Merged

Support configurable file type for file upload controls#49
alexanderoster merged 1 commit into
alexanderoster:developfrom
krixkrix:configurable_file_type_for_fileupload

Conversation

@krixkrix

@krixkrix krixkrix commented Nov 12, 2025

Copy link
Copy Markdown

Allowing config.xml to define upload controls with attribute "acceptedtypes".

config.xml example code:

<upload class="image" caption="Select png file to upload" acceptedtypes=".png" successevent="onfileuploadfinished"/>

This has value on it's own, but is a preparational step to allow a more generic file upload.

NB: requires a rebuild of the client package, however I am not sure if I should commit such binary and risk some merge mess?

Allowing config.xml to define upload controls with attribute "acceptedtypes".

Example:
<upload class="image" caption="Select png file to upload" acceptedtypes=".png" successevent="onfileuploadfinished"/>
@alexanderoster
alexanderoster merged commit a056276 into alexanderoster:develop Dec 7, 2025
1 check passed
@krixkrix
krixkrix deleted the configurable_file_type_for_fileupload branch January 16, 2026 07:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants