mirror of
https://github.com/TheThomaas/my-online-cookbook.git
synced 2026-01-11 04:11:47 +00:00
Make some fields optional
This commit is contained in:
parent
8cadeaf564
commit
48296246c5
|
|
@ -15,12 +15,13 @@ collections:
|
||||||
- label: "Tags"
|
- label: "Tags"
|
||||||
name: "tags"
|
name: "tags"
|
||||||
widget: "list"
|
widget: "list"
|
||||||
|
required: false
|
||||||
summary: "{{fields.tag}}"
|
summary: "{{fields.tag}}"
|
||||||
field: {label: "Tag", name: "tag", widget: string}
|
field: {label: "Tag", name: "tag", widget: string}
|
||||||
- {label: "Preparation time", name: "time", widget: "string"}
|
- {label: "Preparation time", name: "time", widget: "string", required: false}
|
||||||
- {label: "Number of servings", name: "servings", widget: "number"}
|
- {label: "Number of servings", name: "servings", widget: "number", required: false}
|
||||||
- {label: "Source of the recipe", name: "sourceLabel", widget: "string"}
|
- {label: "Source of the recipe", name: "sourceLabel", widget: "string", required: false}
|
||||||
- {label: "URL of the source of the recipe", name: "sourceURL", widget: "string"}
|
- {label: "URL of the source of the recipe", name: "sourceURL", widget: "string", required: false}
|
||||||
- label: "Ingredients"
|
- label: "Ingredients"
|
||||||
name: "ingredients"
|
name: "ingredients"
|
||||||
widget: "list"
|
widget: "list"
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue