Skip to content

Commit

Permalink
[New] Sample top level section for comments
Browse files Browse the repository at this point in the history
  • Loading branch information
blcham committed Nov 4, 2021
1 parent 16f5b2e commit 85d1f07
Showing 1 changed file with 50 additions and 1 deletion.
51 changes: 50 additions & 1 deletion test/rendering/form1.json
Original file line number Diff line number Diff line change
Expand Up @@ -515,6 +515,38 @@
"@language" : "en"
}
},
{
"label" : {
"@value" : "Answerable section",
"@language" : "en"
},
"has-layout-class" : [
"section",
"checkbox",
"answerable"
],
"@id" : "answerable-section-with-icons-4808",
"has-comment" : [
{
"@type" : "form:comment",
"has-comment-value" : "Some comment",
"has-author" : "http://fel.cvut.cz/people/max-chopart",
"has-timestamp" : "1636061441831"
},
{
"@type" : "form:comment",
"has-comment-value" : "Another comment",
"has-author" : "http://fel.cvut.cz/people/miroslav-blasko",
"has-timestamp" : "1636065441831"
}
],
"description" : {
"@value" : "Some detailed description of the question.",
"@language" : "en"
},

"@type" : "doc:question"
},
{
"label" : {
"@value" : "Answerable section",
Expand Down Expand Up @@ -788,7 +820,7 @@
"@language" : "en"
},
"form:has-preceding-question" : {
"@id" : "layout-options-65"
"@id" : "icons-65"
}
},
{
Expand Down Expand Up @@ -2267,6 +2299,7 @@
},
"has-layout-class" : "form",
"has_related_question" : [
"icons-65",
"layout-options-65",
"conditional-logic-6448",
"ufo-based-patterns",
Expand Down Expand Up @@ -2766,6 +2799,22 @@
},
"@id" : "https://example.com/grade/low"
},
{
"@id" : "icons-65",
"has-layout-class" : [
"section",
"wizard-step"
],
"@type" : "doc:question",
"has_related_question" : [
"answerable-section-with-icons-4808"
],
"form:has-preceding-question" : {
"@id" : "layout-options-65"
},

"label" : "Icons"
},
{
"@id" : "layout-options-65",
"has-layout-class" : [
Expand Down

0 comments on commit 85d1f07

Please sign in to comment.