Skip to content

Commit 035cb62

Browse files
Fix description of namePrefix for date input
1 parent c9d8785 commit 035cb62

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

packages/nhsuk-frontend/src/nhsuk/components/date-input/macro-options.mjs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ export const params = {
1818
type: 'string',
1919
required: false,
2020
description:
21-
"Optional prefix. This is used to prefix each `item.name` using `'-'`."
21+
"Optional prefix. This is used to prefix each `item.name`, with the name then appearing in square brackets, for example `'date[month]'` ."
2222
},
2323
items: {
2424
type: 'array',

0 commit comments

Comments
 (0)