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
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>
I will mark the idea as under review and not resolved so that we can see if there is interest inmaking this first class.
Hello,I tried to implement the Enum property above but I had some pretty strange behaviors.
When building the component I had an error on the hidden property saying that: "hiddent exists in instance when not allowed".
I tried removing this property but as soon as I installed the solution I didn't see any available components (or even standards).
I don't know if I missed anything.