Skip to content

Commit

Permalink
Input Labels Spec Documents (#3618)
Browse files Browse the repository at this point in the history
* Input Labels Spec Documents

* Updated with some feedback from design discussion meeting

* More review feedback upates

* Update schema and spec to have label on all inputs

* Update test app results for new sample
  • Loading branch information
RebeccaAnne committed Dec 5, 2019
1 parent 0c99bfd commit 76c4fc5
Show file tree
Hide file tree
Showing 37 changed files with 3,531 additions and 51 deletions.
49 changes: 49 additions & 0 deletions samples/v1.3/Elements/Input.Label.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,49 @@
{
"type": "AdaptiveCard",
"version": "1.0",
"body": [
{
"type": "TextBlock",
"text": "Please fill out the following form:",
"size": "Medium"
},
{
"type": "Input.Text",
"id": "labelAsString",
"placeholder": "First Last",
"label": "Name:"
},
{
"type": "Input.Date",
"id": "labelAsTextBlock",
"label": {
"type": "TextBlock",
"text": "Start Date:",
"weight": "Bolder"
}
},
{
"type": "Input.Text",
"placeholder": "Placeholder text",
"id": "labelAsRichTextBlock",
"label": {
"type": "RichTextBlock",
"inlines": [
{
"type": "TextRun",
"text": "What is your "
},
{
"type": "TextRun",
"text": "favorite",
"italic": true
},
{
"type": "TextRun",
"text": " color?"
}
]
}
}
]
}
Loading

0 comments on commit 76c4fc5

Please sign in to comment.