Community
Participate
Working Groups
Need support to clear the content when a property is disabled. One of the problem I am seeing with Enablement annotation, <item1> <item2> <item3> I defined <item2> and <item3> are enabled only when <item1> set to a particular value. Lets say user first time select that value in <item1> and set required property in <item2> and <item3>. when he goes back to <item1> and changes its value. <item2> and <item3> are disabled as expected but the values previously entered in the XML is not going away. we need support to remove those value from xml when we disable that field? May be "@ClearOnDisable" annotation?
Enhancement implemented. See the 0.3 release's what's new document for further details. Example of usage in the IIfThenElseGallery class of the gallery sample.
Verified in sapphire-gallery.xml