Different options based on Enum property - Widget

Hi guys, I'm doing my XML file for my widget. I was wondering if it's possible to show different fields based on the Enum choice. For example, I have the following property. I would like to show a "String" property when they select "Code" and an "Entity" property when they select "Context".  <property key="source" type="enumeration" defaultValue="context" required="true"> <caption>Source</caption> <category>Data source</category> <description>Context or paste in code?</description> <enumerationValues> <enumerationValue key="context">Context</enumerationValue> <enumerationValue key="paste">Code</enumerationValue> </enumerationValues> </property> Cheers
0 answers