瀏覽代碼

Improved settings example with custom fields

Brendan Abolivier 7 年之前
父節點
當前提交
59c4f6db51
簽署人: Brendan Abolivier <contact@brendanabolivier.com> GPG 金鑰 ID: 8EF1500759F70623
共有 1 個文件被更改,包括 18 次插入1 次删除
  1. 18
    1
      settings.example.json

+ 18
- 1
settings.example.json 查看文件

@@ -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
 }