-
Notifications
You must be signed in to change notification settings - Fork 32
Expand file tree
/
Copy pathglobal-properties.js
More file actions
70 lines (69 loc) · 1.76 KB
/
global-properties.js
File metadata and controls
70 lines (69 loc) · 1.76 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
export const formTypes = {
form: 'form',
display: 'display',
};
export default [
{
inspector: [
{
type: 'FormInput',
field: 'conditionalHide',
config: {
label: 'Visibility Rule',
helper: 'This control is hidden until this expression is true',
},
},
{
type: 'DeviceVisibility',
field: 'deviceVisibility',
config: {
label: 'Device Visibility',
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: '',
},
},
{
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]*]',
},
},
{
type: 'FormInput',
field: 'ariaLabel',
config: {
label: 'Aria Label',
helper: 'Attribute designed to help assistive technology (e.g. screen readers) attach a label',
},
},
{
type: 'FormInput',
field: 'tabindex',
config: {
label: 'Tab Order',
helper: 'Order in which a user will move focus from one control to another by pressing the Tab key',
validation: 'regex: [0-9]*',
},
},
{
type: 'EncryptedConfig',
field: 'encryptedConfig',
config: {
label: 'Encrypted',
helper: '',
},
},
],
},
];