Skip to content

Commit

Permalink
Update select.yml
Browse files Browse the repository at this point in the history
Prior to this change, the documentation for the select component suggests passing a parameter called `hint_text`, however it looks that this should actually be `hint`. Comment on hint_text vs hint on original PR:
alphagov#2594 (comment)
  • Loading branch information
KyleMacPherson authored and alex-ju committed Feb 4, 2022
1 parent d252655 commit 80ba036
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ examples:
data:
id: 'dropdown2-1'
label: 'Choose your preferred thing'
hint_text: 'You might need some more information here'
hint: 'You might need some more information here'
hint_id: 'optional-hint-id'
options:
- text: 'Something'
Expand Down

0 comments on commit 80ba036

Please sign in to comment.