瀏覽代碼

Updated the settings example

Brendan Abolivier 7 年之前
父節點
當前提交
e89f0a893e
簽署人: 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
 }