Skip to content

Commit

Permalink
Improve form input component documentation
Browse files Browse the repository at this point in the history
- describedby option was incorrectly called
- demonstration of value option added
  • Loading branch information
andysellick committed May 2, 2018
1 parent 13ab0d6 commit 5be6f2e
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 5be6f2e

Please sign in to comment.