Schema Explorer

Choose element:

Important note about accessibility: In version 1.3 of the schema we introduced a label property on Inputs to improve accessibility. If the Host app you are targeting supports v1.3 you should use label instead of a TextBlock as seen in some samples below. Once most Host apps have updated to the latest version we will update the samples accordingly.

Input.Choice

Describes a choice for use in a ChoiceSet.

Property Type Required Description Version
title string Yes Text to display. 1.0
value string Yes The raw value for the choice. NOTE: do not use a , in the value, since a ChoiceSet with isMultiSelect set to true returns a comma-delimited string of choice values. 1.0

Properties

title

Text to display.

  • Type: string
  • Required: Yes

value

The raw value for the choice. NOTE: do not use a , in the value, since a ChoiceSet with isMultiSelect set to true returns a comma-delimited string of choice values.

  • Type: string
  • Required: Yes