cancel
Showing results for 
Search instead for 
Did you mean: 

From control configuration : Allow input value for TwoOptions property

Currently, it is only possible to bind an attribute to a TwoOptions property. 

It would be nice to allow customizers to use a value of their choice

Status: Under Review

You can acheive the same by using type ‘enum’  as following - 

 

A sample property l

    <property name="EnableFiltering" display-name-key="CC_Allow_Filtering" description-key="CC_Allow_Filtering_Desc" usage="input" of-type="Enum" required="false" hidden="true">

      <value name="Yes" display-name-key="CC_Enable_Filtering" description-key="CC_Enable_Filtering_Desc">yes</value>

      <value name="No" display-name-key="CC_Disable_Filtering" description-key="CC_Disable_Filtering_Desc" default="true">no</value>

    </property>

 

I will mark the idea as under review and not resolved so that we can see if there is interest inmaking this first class.

 

 

Comments
PowerApps Staff
Status changed to: Under Review

You can acheive the same by using type ‘enum’  as following - 

 

A sample property l

    <property name="EnableFiltering" display-name-key="CC_Allow_Filtering" description-key="CC_Allow_Filtering_Desc" usage="input" of-type="Enum" required="false" hidden="true">

      <value name="Yes" display-name-key="CC_Enable_Filtering" description-key="CC_Enable_Filtering_Desc">yes</value>

      <value name="No" display-name-key="CC_Disable_Filtering" description-key="CC_Disable_Filtering_Desc" default="true">no</value>

    </property>

 

I will mark the idea as under review and not resolved so that we can see if there is interest inmaking this first class.