brianraymes opened a new pull request #879:
URL: https://github.com/apache/royale-asjs/pull/879


   I noticed that the `[Bindable("lengthChanged")]` was added to the length 
property, but the event is not dispatched when an item is either added or 
removed.
   
   **Steps to Reproduce**
   
   1. _Create a bindable ArrayList_
   
   ```
   [Bindable]
   public var names:ArrayList = new ArrayList(["A", "B", "C"]);
   ```
   
   2. _Bind something to the length property_
   
   ```
   <j:Label text="Length: {names.length}"/>
   ```
   
   3. _Add an item_
   
   ```
   names.addItem("D");
   ```
   
   **Expected Results**
   
   Label is updated from `Length: 3` to `Length: 4`.
   
   **Actual Results**
   
   Label is not updated and remains as `Length: 3`.


----------------------------------------------------------------
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]


Reply via email to