Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Added Placeholder to ChoiceSet #4811

Merged
merged 28 commits into from
Sep 29, 2020
Merged

Added Placeholder to ChoiceSet #4811

merged 28 commits into from
Sep 29, 2020

Conversation

jwoo-msft
Copy link
Member

@jwoo-msft jwoo-msft commented Sep 24, 2020

Related Issue

reference #3885
Fixes #4810

  • Documentation
  • Android
  • iOS
  • UWP

Description

Added placeholder text for Input.ChoiceSet when it is single select and compact style.

How Verified

How you verified the fix, including one or all of the following:

  1. verified with a test card; A new test card or an updated card based on the test card is to be included with Android/WPF changes.
  2. Ran unit/regression tests
Microsoft Reviewers: Open in CodeFlow

@azure-pipelines
Copy link

There was an error handling pipeline event 820873f4-824a-4ff9-a38f-0a2886cb9a58.

@@ -20,10 +20,14 @@
"type": "string",
"description": "The initial choice (or set of choices) that should be selected. For multi-select, specify a comma-separated string of values."
},
"placeholder": {
"type": "string",
"description": "Description of the input desired. Displayed when no selection has been made, style is compact and multi selection is false."
Copy link
Member

@matthidinger matthidinger Sep 24, 2020

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for adding this Joseph! Can you tweak the format a bit, something like: "Description of the input desired. Only visible when no selection has been made, the style is compact and isMultiSelect is false." #Resolved

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

sure


In reply to: 494550835 [](ancestors = 494550835)

Copy link
Contributor

@almedina-ms almedina-ms left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You're missing changes in the .idl file, that's why the UWP build is failing

@ghost ghost removed the Needs: Author Feedback label Sep 25, 2020
@jwoo-msft
Copy link
Member Author

thanks


In reply to: 496028907 [](ancestors = 496028907)

@RebeccaAnne
Copy link
Contributor

RebeccaAnne commented Sep 28, 2020

{

Could we get a simple sample card that uses this? If we put it in the Elements directory and name it Input.ChoiceSet.Placeholder.json it can serve as a website sample as well. #Resolved


Refers to: schemas/src/elements/inputs/Input.ChoiceSet.json:1 in 90f7904. [](commit_id = 90f7904, deletion_comment = False)

@almedina-ms almedina-ms self-requested a review September 28, 2020 19:12
Copy link
Contributor

@almedina-ms almedina-ms left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please add the Input.ChoiceSet.Placeholder sample to the v1.3 folder

Copy link
Contributor

@RebeccaAnne RebeccaAnne left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

:shipit:

@jwoo-msft jwoo-msft merged commit d8a889b into main Sep 29, 2020
@jwoo-msft jwoo-msft deleted the jwoo/choice-set-placeholder branch September 29, 2020 19:46
rankush pushed a commit to rankush/AdaptiveCards that referenced this pull request May 8, 2024
* Fixed the crash issue

* Fixed Bleeding Crash Issue

* finishing up changes for bleed update

* work in progress

* updated ChoiceSetInput.cpp

* ios change

* schema & uwp changes

* Updated specs

* Android Changes

* addressed review comments

* Updated specs

* Added placeholder text example to test cards

* added a new card

* added UWP test images

* Fixed bad merge

* updated schema

* Updated specs

Co-authored-by: Adaptive Cards Specs CI <donotreply@microsoft.com>
Co-authored-by: almedina-ms <35784165+almedina-ms@users.noreply.github.com>
Co-authored-by: shalinijoshi19 <shalinij@microsoft.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Input.ChoiceSet docs and placeholder updates
5 participants