List
The list is used for collecting key/value pairs. A json encoded copy of the list is rendered to a hidden field.
The list is used for collecting key/value pairs. A json encoded copy of the list is rendered to a hidden field.
<x-textstem::inputs.list
name="list"
:value="$list"
label="List"
type="list"></x-textstem::inputs.list>
Property | Description |
name | name of the input |
label | label (optional) |
value | This should be passed as an array of objects with a label and value. |
placeholder_key | placeholder for the key (the default is 'key') |
placeholder_value | placeholder for the value (the default is 'value') |