Skip to content

Commit

Permalink
Merge pull request #295 from alphagov/improve-form-input-component-doc
Browse files Browse the repository at this point in the history
Improve form input component documentation
  • Loading branch information
andysellick authored May 3, 2018
2 parents 13ab0d6 + 5be6f2e commit 8b8f3e7
Showing 1 changed file with 7 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -37,10 +37,16 @@ examples:
label:
text: "This might not work"
name: "labelledby"
labelledby: "skiplink-container"
describedby: "skiplink-container"
with_error:
data:
label:
text: "What is your name?"
name: "name"
error_message: "Please could you provide your name"
with_value:
data:
label:
text: "Search for"
name: "name"
value: "moose"

0 comments on commit 8b8f3e7

Please sign in to comment.