Repository navigation
Expand file tree
/
Copy pathsanitize_single_rich_text_nested_screen.json
More file actions
191 lines (191 loc) · 7.77 KB
/
Copy pathsanitize_single_rich_text_nested_screen.json
File metadata and controls
191 lines (191 loc) · 7.77 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
[
{
"name": "HTML Nested AA",
"items": [
{
"label": "Nested Screen",
"config": {
"icon": "fas fa-file-invoice",
"name": "Nested Screen",
"label": "Nested Screen",
"value": null,
"screen": 1,
"variant": "primary"
},
"component": "FormNestedScreen",
"inspector": [
{
"type": "ScreenSelector",
"field": "screen",
"config": {
"name": "SelectScreen",
"label": "Screen",
"helper": "Select a screen",
"validate-nested": false
}
},
{
"type": "FormInput",
"field": "conditionalHide",
"config": {
"label": "Visibility Rule",
"helper": "This control is hidden until this expression is true"
}
},
{
"type": "FormInput",
"field": "customFormatter",
"config": {
"label": "Custom Format String",
"helper": "Use the Mask Pattern format <br> Date ##/##/#### <br> SSN ###-##-#### <br> Phone (###) ###-####",
"validation": null
}
},
{
"type": "FormInput",
"field": "customCssSelector",
"config": {
"label": "CSS Selector Name",
"helper": "Use this in your custom css rules",
"validation": "regex: [-?[_a-zA-Z]+[_-a-zA-Z0-9]*]"
}
}
],
"editor-control": "FormNestedScreen",
"editor-component": "FormNestedScreen"
},
{
"label": "Submit Button",
"config": {
"icon": "fas fa-share-square",
"name": null,
"event": "submit",
"label": "New Submit",
"variant": "primary",
"fieldValue": null,
"defaultSubmit": true
},
"component": "FormButton",
"inspector": [
{
"type": "FormInput",
"field": "label",
"config": {
"label": "Label",
"helper": "The label describes the button's text"
}
},
{
"type": "FormInput",
"field": "name",
"config": {
"name": "Variable Name",
"label": "Variable Name",
"helper": "A variable name is a symbolic name to reference information."
}
},
{
"type": "FormMultiselect",
"field": "event",
"config": {
"label": "Type",
"helper": "Choose whether the button should submit the form",
"options": [
{
"value": "submit",
"content": "Submit Button"
},
{
"value": "script",
"content": "Regular Button"
}
]
}
},
{
"type": "FormInput",
"field": "fieldValue",
"config": {
"label": "Value",
"helper": "The value being submitted"
}
},
{
"type": "FormMultiselect",
"field": "variant",
"config": {
"label": "Button Variant Style",
"helper": "The variant determines the appearance of the button",
"options": [
{
"value": "primary",
"content": "Primary"
},
{
"value": "secondary",
"content": "Secondary"
},
{
"value": "success",
"content": "Success"
},
{
"value": "danger",
"content": "Danger"
},
{
"value": "warning",
"content": "Warning"
},
{
"value": "info",
"content": "Info"
},
{
"value": "light",
"content": "Light"
},
{
"value": "dark",
"content": "Dark"
},
{
"value": "link",
"content": "Link"
}
]
}
},
{
"type": "FormInput",
"field": "conditionalHide",
"config": {
"label": "Visibility Rule",
"helper": "This control is hidden until this expression is true"
}
},
{
"type": "FormInput",
"field": "customFormatter",
"config": {
"label": "Custom Format String",
"helper": "Use the Mask Pattern format <br> Date ##/##/#### <br> SSN ###-##-#### <br> Phone (###) ###-####",
"validation": null
}
},
{
"type": "FormInput",
"field": "customCssSelector",
"config": {
"label": "CSS Selector Name",
"helper": "Use this in your custom css rules",
"validation": "regex: [-?[_a-zA-Z]+[_-a-zA-Z0-9]*]"
}
}
],
"editor-control": "FormSubmit",
"editor-component": "FormButton"
}
]
}
]