Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions themes-development.md
Original file line number Diff line number Diff line change
Expand Up @@ -113,6 +113,8 @@ form:
});
```

> **NOTE:** When using a `fileupload` field in your theme, Winter will automatically add the field to an `attachOne` relationship. If you want to use multiple file uploads for a field, add the `multiple: true` option to the field definition. This will instead add the field to an `attachMany` relationship.

The value can then be accessed inside any of the Theme templates using the [default page variable](../markup#default-variables) called `this.theme`.

```twig
Expand Down