You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@royale.apache.org by gi...@git.apache.org on 2017/10/09 21:44:33 UTC

[GitHub] justinmclean opened a new issue #23: Can select empty cells in DateChooser

justinmclean opened a new issue #23: Can select empty cells in DateChooser
URL: https://github.com/apache/royale-asjs/issues/23
 
 
   Clicking on empty cells in DateChooser selects the cell and set the selected date to null this can cause RTEs.
   
   Sample code:
   ```
   <?xml version="1.0" encoding="utf-8"?>
   <js:Application xmlns:fx="http://ns.adobe.com/mxml/2009"
                   xmlns:js="library://ns.apache.org/flexjs/basic">
   
       <js:valuesImpl>
           <js:SimpleCSSValuesImpl/>
       </js:valuesImpl>
   
       <fx:Script>
           <![CDATA[
           public function displayDate():void {
               display.text = chooser.selectedDate.toDateString();
           }
           ]]>
       </fx:Script>
   
       <js:initialView>
           <js:View>
               <js:Group id="content">
                   <js:beads>
                       <js:VerticalLayout />
                   </js:beads>
                   <js:DateChooser id="chooser" width="300" click="displayDate()" />
                   <js:Label id="display"/>
               </js:Group>
           </js:View>
       </js:initialView>
   
   </js:Application>
   ```
   
   To reproduce just click on an cell without a number in it.
   
 
----------------------------------------------------------------
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