Skip to content

Commit

Permalink
Add example conditional reveal across sibling groups
Browse files Browse the repository at this point in the history
  • Loading branch information
colinrotherham committed Apr 3, 2019
1 parent d507268 commit 6e9b9c6
Showing 1 changed file with 21 additions and 3 deletions.
24 changes: 21 additions & 3 deletions app/views/examples/form-elements/index.njk
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,13 @@
},
{
"value": "c",
"text": "Option C"
"text": "Option C",
"hint": {
"text": "Including conditional reveal"
},
"conditional": {
"html": '<p class="govuk-body">This message should hide when other group radios are checked</p>'
}
}
]
}) }}
Expand All @@ -138,7 +144,13 @@
},
{
"value": "c",
"text": "Option C"
"text": "Option C",
"hint": {
"text": "Including conditional reveal"
},
"conditional": {
"html": '<p class="govuk-body">This message should hide when other group radios are checked</p>'
}
}
]
}) }}
Expand All @@ -163,7 +175,13 @@
},
{
"value": "c",
"text": "Option C"
"text": "Option C",
"hint": {
"text": "Including conditional reveal"
},
"conditional": {
"html": '<p class="govuk-body">This message should hide when other group radios are checked</p>'
}
}
]
}) }}
Expand Down

0 comments on commit 6e9b9c6

Please sign in to comment.