Section #
The pull
field is a container field. It can define multiple input fields. The
fields defined in a pull are displayed at the same level as other fields next
to the pull field. The values are stored as dictionary below the pull key.
Properties #
Bundle manager Properties #
property | value type | optional | description |
---|---|---|---|
key | string | mandatory | Keys are for internal use and must be unique. |
fields | array of dictionaries | optional | These are the subform input fields. |
group | string | optional (default: null) | key to store the dictionary in. When not set, the key of the pull element itself is used. |
Sample #
Configuration #
./quiqr/model/base.
fields:
- key: author
title: Author
type: string
- key: description
multiLine: true
title: Description
type: string
group: params
key: some_field
type: pull
group = "params"
key = "some_field"
type = "pull"
[[fields]]
key = "author"
title = "Author"
type = "string"
[[fields]]
key = "description"
multiLine = true
title = "Description"
type = "string"
{
"fields": [
{
"key": "author",
"title": "Author",
"type": "string"
},
{
"key": "description",
"multiLine": true,
"title": "Description",
"type": "string"
}
],
"group": "params",
"key": "some_field",
"type": "pull"
}
Output #
params:
author: "Multiple authors"
description: |-
this is a nice
place.