Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Multiple file attachments in theme customization #495

Merged
merged 2 commits into from
Mar 18, 2022
Merged

Multiple file attachments in theme customization #495

merged 2 commits into from
Mar 18, 2022

Conversation

damsfx
Copy link
Contributor

@damsfx damsfx commented Mar 15, 2022

This PR add a multiple property to fields in theme customization.
If multiple: true, the field is added to attachMany and allow multiple files selection, in all other cases the current behavior applied.

This PR add a `multiple` property to fields in [theme customization](https://wintercms.com/docs/themes/development#customization).  
If `multiple: true`, the field is added to `attachMany` and allow multiple files selection, in all other cases the current behavior applied.
@bennothommo bennothommo added the maintenance PRs that fix bugs, are translation changes or make only minor changes label Mar 15, 2022
@LukeTowers
Copy link
Member

Looks good, just would like a minor formatting change done. Could you also submit a PR to the docs repo for the https://wintercms.com/docs/themes/development#customization section documenting the use of the multiple flag to indicate an attachMany relationship?

@LukeTowers LukeTowers added this to the v1.2.0 milestone Mar 18, 2022
@LukeTowers LukeTowers merged commit 4a2bffa into wintercms:wip/1.2 Mar 18, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
maintenance PRs that fix bugs, are translation changes or make only minor changes
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants