From e07b349f57ed54c66c808dd9fc5ed9fae547ecf4 Mon Sep 17 00:00:00 2001 From: Nick Colley Date: Tue, 24 Sep 2019 12:45:22 +0100 Subject: [PATCH] Update date input items documentation so they're not required Items have a default if they're not passed to the component, so they're not required. --- src/govuk/components/date-input/date-input.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/govuk/components/date-input/date-input.yaml b/src/govuk/components/date-input/date-input.yaml index 68d8dcadd3..c00f0ed03f 100644 --- a/src/govuk/components/date-input/date-input.yaml +++ b/src/govuk/components/date-input/date-input.yaml @@ -9,7 +9,7 @@ params: description: Optional prefix. This is used to prefix each `item.name` using `-`. - name: items type: array - required: true + required: false description: An array of input objects with name, value and classes. params: - name: id