pashminakazi commented on issue #871:
URL: https://github.com/apache/royale-asjs/issues/871#issuecomment-653152344


   I override value getter and return selectedDate,now value is not null but 
value is now undefined for
   var date1:String = cc_AthrzDate.value.toString();
   var date2:String = cc_CanclDate.value.toString();
   
   Please check this setup
   
   Project Details are :
   https://paste.apache.org/cpo8y
   Test case is available on VDI.
   Go to sales from Select in Menu
   Go to Carriage/Freight -> Contractor from Setups in Menu
   File : com/dbz/modules/INV/dbzCarriageContractorSetup.mxml
   
   Click on New button by default there is some date selected for cc_AthrzDate 
and cc_CanclDate,these both are MaskedDateField
   when i type code and name which is compulsory to enter and i click save 
button the exception thrown : 
   
![image](https://user-images.githubusercontent.com/42200979/86395139-33aa6c80-bcb9-11ea-9648-6acd2840ae4d.png)
   
   when i re-select the date and click save button then this exception go away
   
   when i re-selectiing date and click save button,i setted breakpoint to check 
the value
   
![image](https://user-images.githubusercontent.com/42200979/86395264-68b6bf00-bcb9-11ea-9c8d-1546db89dcee.png)
   
   So why the value for date is undefined for the first time although it is 
already selected by default.
   


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