Bläddra i källkod

Improved settings example with custom fields

Brendan Abolivier 7 år sedan
förälder
incheckning
59c4f6db51
Signed by: Brendan Abolivier <contact@brendanabolivier.com> GPG key ID: 8EF1500759F70623
1 ändrade filer med 18 tillägg och 1 borttagningar
  1. 18
    1
      settings.example.json

+ 18
- 1
settings.example.json Visa fil

@@ -15,5 +15,22 @@
15 15
 	],
16 16
 	"formOrigin": "https://example.tld",
17 17
 	"language": "en",
18
-	"labels": true
18
+	"labels": true,
19
+	"customFields": {
20
+	    "deadline": {
21
+	        "label": "Development deadline",
22
+	        "type": "select",
23
+	        "options": [
24
+	            "A week",
25
+	            "A month",
26
+	            "More than a month"
27
+	        ],
28
+	        "required": true
29
+	    },
30
+	    "budget_max": {
31
+	        "label": "Maximum budget (€)",
32
+	        "type": "number",
33
+	        "required": true
34
+	    }
35
+	}
19 36
 }