49 lines
1.1 KiB
YAML
49 lines
1.1 KiB
YAML
attributes:
|
|
|
|
fuel_plugin_example_text:
|
|
type: "text"
|
|
weight: 10
|
|
value: "Default text"
|
|
label: "Text field label"
|
|
description: "Field description"
|
|
regex:
|
|
source: '\S'
|
|
error: "Error field cannot be empty"
|
|
|
|
fuel_plugin_example_select:
|
|
type: "select"
|
|
weight: 20
|
|
value: "value2"
|
|
label: "Select label"
|
|
description: "Select description"
|
|
values:
|
|
- data: "value1"
|
|
label: "Value 1 label"
|
|
- data: "value2"
|
|
label: "Value 2 label"
|
|
- data: "value3"
|
|
label: "Value 3 label"
|
|
|
|
fuel_plugin_example_checkbox:
|
|
type: "checkbox"
|
|
weight: 30
|
|
value: false
|
|
label: "Checkbox label"
|
|
description: "Checkbox description"
|
|
|
|
fuel_plugin_example_radio:
|
|
type: "radio"
|
|
weight: 40
|
|
value: "disabled"
|
|
label: "Radio buttons label"
|
|
values:
|
|
- data: "data1"
|
|
label: "Label data1"
|
|
description: "Description data1"
|
|
- data: "data2"
|
|
label: "Label data2"
|
|
description: "Description data2"
|
|
- data: "data3"
|
|
label: "Label data3"
|
|
description: "Description data3"
|