greg-dove commented on issue #457: ApplicationDataBinding is failing with constants URL: https://github.com/apache/royale-asjs/issues/457#issuecomment-565660716 @piotrzarzycki21 I finally got to look at this, and for now I can't reproduce your issue. I tested with the following code in an mxml component: ``` <j:VGroup xmlns:fx="http://ns.adobe.com/mxml/2009" xmlns:js="library://ns.apache.org/royale/basic" xmlns:j="library://ns.apache.org/royale/jewel"> <fx:Script> <![CDATA[ import org.apache.royale.collections.ArrayList; public function getDataProvider():ArrayList{ var content:Array = ['test1', 'test2','test3', 'test4','test5', 'test6']; return new ArrayList(content); } ]]> </fx:Script> <j:beads> <js:ContainerDataBinding /> </j:beads> <j:Form localId="formBody"> <!--<j:beads> <j:FormValidator id="formValidator" trigger="{btnSubmit}" triggerEvent="click"/> </j:beads>--> <j:FormItem label="Customer ID:" required="true"> <!-- <controls:AccountSelector localId="ddlCustomerId" />--> <j:DropDownList localId="ddlCustomerId" dataProvider="{getDataProvider()}"/> </j:FormItem> <j:Spacer height="20"/> <j:FormItem label="First Name:" required="true"> <j:TextInput percentWidth="100"> <j:beads> <j:StringValidator required="1"/> <j:Disabled disabled="{ddlCustomerId.selectedItem == null}"/> </j:beads> </j:TextInput> </j:FormItem> <j:FormItem label="Submit Button:" > <j:Button localId="btnSubmit" text="SubmitButton" click="ddlCustomerId.selectedItem=null"/> </j:FormItem> </j:Form> </j:VGroup> ``` I could see the Disabled bead toggling on and off depending on whether the selectedItem was active or null. Obviously I cannot check your custom AccountSelector component, so I just used a regular DDL. Do you still have this issue? Or could you please give me a minimal repro? Thanks, Greg
---------------------------------------------------------------- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: [email protected] With regards, Apache Git Services
