You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@royale.apache.org by GitBox <gi...@apache.org> on 2017/10/28 07:38:17 UTC

[GitHub] justinmclean opened a new issue #57: DateChooser has initial selection date set to today but not shown as selected

justinmclean opened a new issue #57: DateChooser has initial selection date set to today but not shown as selected
URL: https://github.com/apache/royale-asjs/issues/57
 
 
   From this code:
   ```
   <?xml version="1.0" encoding="utf-8"?>
   <js:Application xmlns:fx="http://ns.adobe.com/mxml/2009"
                   xmlns:js="library://ns.apache.org/royale/basic">
   
       <js:beads>
           <js:ApplicationDataBinding />
       </js:beads>
   
       <js:valuesImpl>
           <js:SimpleCSSValuesImpl/>
       </js:valuesImpl>
   
       <js:initialView>
           <js:View>
               <js:Group id="content" width="300" height="500">
                   <js:beads>
                       <js:VerticalLayout />
                   </js:beads>
                   <js:DateChooser id="dc1" height="200" />
                   <js:DateChooser id="dc2" height="200" selectedDate="{dc1.selectedDate}" />
                   <js:Label text="{dc1.selectedDate}" />
               </js:Group>
           </js:View>
       </js:initialView>
   
   </js:Application>
   ```
   
   You can see the date selected (in the second date chooser) and displayed in the label however it is not shown as selected in the first date chooser.
   
   ![2017-10-28_18-34-39](https://user-images.githubusercontent.com/144504/32132429-1d3be210-bc0f-11e7-9de3-9c8a7177189f.png)
   
   

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services