-
Notifications
You must be signed in to change notification settings - Fork 0
/
db.json
42 lines (42 loc) · 1.03 KB
/
db.json
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
[{
"label": "Name",
"key": "contact_name",
"type": "text",
"error": "You must include a name",
"placeholder": "Write a name..."
}, {
"label": "Surname",
"key": "contact_surname",
"type": "text",
"error": "You must include a name",
"placeholder": "Write a surname..."
}, {
"label": "Email",
"key": "contact_email",
"type": "email",
"error": "You must include an email",
"placeholder": "Write an email..."
}, {
"label": "Descriptions",
"key": "contact_description",
"type": "textarea",
"error": "You must include a description",
"placeholder": "Write a description..."
}, {
"label": "Phone Number",
"key": "contact_phone_number",
"type": "number",
"error": "You must include a number",
"rules": [{
"len": 10,
"message": "The phone number must be only 10 digits"
}],
"placeholder": "Write a number..."
}, {
"label": "Employment status",
"key": "contact_employment_status",
"type": "select",
"error": "You must include an employment status",
"options": ["Employee", "Worker", "Self-employed"],
"placeholder": "Select..."
}]