Skip to content

Commit

Permalink
Mark hint id as not required
Browse files Browse the repository at this point in the history
  • Loading branch information
Vanita Barrett committed Aug 27, 2020
1 parent 87127cb commit d2234cd
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/govuk/components/hint/hint.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ params:
description: If `text` is set, this is not required. HTML to use within the hint. If `html` is provided, the `text` argument will be ignored.
- name: id
type: string
required: true
required: false
description: Optional id attribute to add to the hint span tag.
- name: classes
type: string
Expand Down Expand Up @@ -50,6 +50,7 @@ examples:
- name: classes
hidden: true
data:
id: example-hint
classes: app-hint--custom-modifier
- name: id
hidden: true
Expand Down

0 comments on commit d2234cd

Please sign in to comment.