Skip to content

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