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 2020/01/20 07:49:45 UTC

[GitHub] [royale-asjs] pashminakazi opened a new issue #688: Date should be selected by Default

pashminakazi opened a new issue #688: Date should be selected by Default
URL: https://github.com/apache/royale-asjs/issues/688
 
 
   After pressing new button Datefield should not be "/ / /" there should be default selection of date
   ![Date default selection](https://user-images.githubusercontent.com/42200979/72707878-4dc91600-3b83-11ea-84bd-d5f7ee88ed11.gif)
   

----------------------------------------------------------------
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:
users@infra.apache.org


With regards,
Apache Git Services

[GitHub] [royale-asjs] pashminakazi commented on issue #688: Date should be selected by Default

Posted by GitBox <gi...@apache.org>.
pashminakazi commented on issue #688: Date should be selected by Default
URL: https://github.com/apache/royale-asjs/issues/688#issuecomment-576531239
 
 
   Still no default selection of date,when i press NEW button all fields will be reset and datefield is like 
   "/ / /" instead of date

----------------------------------------------------------------
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:
users@infra.apache.org


With regards,
Apache Git Services

[GitHub] [royale-asjs] aharui commented on issue #688: Date should be selected by Default

Posted by GitBox <gi...@apache.org>.
aharui commented on issue #688: Date should be selected by Default
URL: https://github.com/apache/royale-asjs/issues/688#issuecomment-576533888
 
 
   How do you reset it?  Do you create a new one?  Set some values on an existing one?

----------------------------------------------------------------
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:
users@infra.apache.org


With regards,
Apache Git Services

[GitHub] [royale-asjs] aharui commented on issue #688: Date should be selected by Default

Posted by GitBox <gi...@apache.org>.
aharui commented on issue #688: Date should be selected by Default
URL: https://github.com/apache/royale-asjs/issues/688#issuecomment-576535465
 
 
   Did you verify that this example populates the DateField in Flex?  I might be mis-remembering, but I thought that DateField does not populate the TextInput in Flex so Royale doesn't either.  I think your custom DateField populates the TextInput and that your code is not working correctly.  It might still be a Royale component issue, but we should not change the default functionality if we don't have to.  If Flex does not populate the TextInput, neither should Flex.

----------------------------------------------------------------
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:
users@infra.apache.org


With regards,
Apache Git Services

[GitHub] [royale-asjs] pashminakazi commented on issue #688: Date should be selected by Default

Posted by GitBox <gi...@apache.org>.
pashminakazi commented on issue #688: Date should be selected by Default
URL: https://github.com/apache/royale-asjs/issues/688#issuecomment-576533008
 
 
   there's no code which is setting datefield to today's date.
   In Flex when we reset datefield it is automatically setted to today's date.

----------------------------------------------------------------
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:
users@infra.apache.org


With regards,
Apache Git Services

[GitHub] [royale-asjs] aharui commented on issue #688: Date should be selected by Default

Posted by GitBox <gi...@apache.org>.
aharui commented on issue #688: Date should be selected by Default
URL: https://github.com/apache/royale-asjs/issues/688#issuecomment-576532357
 
 
   What code sets the datefield to today's date?  What value is it using?  If you use the same code in the test case does it work?  If so, then the problem is in your MaskedDateField code and you'll have to debug how that code works.

----------------------------------------------------------------
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:
users@infra.apache.org


With regards,
Apache Git Services

[GitHub] [royale-asjs] aharui commented on issue #688: Date should be selected by Default

Posted by GitBox <gi...@apache.org>.
aharui commented on issue #688: Date should be selected by Default
URL: https://github.com/apache/royale-asjs/issues/688#issuecomment-577929961
 
 
   Should be fixed by 462df29dbf897891acdac1a52eaebd23ddb952ff

----------------------------------------------------------------
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:
users@infra.apache.org


With regards,
Apache Git Services

[GitHub] [royale-asjs] pashminakazi commented on issue #688: Date should be selected by Default

Posted by GitBox <gi...@apache.org>.
pashminakazi commented on issue #688: Date should be selected by Default
URL: https://github.com/apache/royale-asjs/issues/688#issuecomment-576534529
 
 
   Just make this example working
   https://paste.apache.org/a0wcj
   When i open index.html datefield is blank.there should be today's date in datefield
   ![image](https://user-images.githubusercontent.com/42200979/72779963-436c5200-3c3f-11ea-90b7-84238acfa406.png)
   

----------------------------------------------------------------
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:
users@infra.apache.org


With regards,
Apache Git Services

[GitHub] [royale-asjs] pashminakazi edited a comment on issue #688: Date should be selected by Default

Posted by GitBox <gi...@apache.org>.
pashminakazi edited a comment on issue #688: Date should be selected by Default
URL: https://github.com/apache/royale-asjs/issues/688#issuecomment-576531239
 
 
   Still no default selection of date,when i press NEW button all fields will be reset and datefield is like 
   "/ / /" instead of date
   When i press NEW button datefield should have today's date instead of /././

----------------------------------------------------------------
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:
users@infra.apache.org


With regards,
Apache Git Services

[GitHub] [royale-asjs] pashminakazi commented on issue #688: Date should be selected by Default

Posted by GitBox <gi...@apache.org>.
pashminakazi commented on issue #688: Date should be selected by Default
URL: https://github.com/apache/royale-asjs/issues/688#issuecomment-576198814
 
 
   DateField Example :
   https://paste.apache.org/a0wcj
   there's no default selection in mx:DateField 
   and if i open 1st datefield and then 2nd datefield,
   1st datefield should be closed

----------------------------------------------------------------
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:
users@infra.apache.org


With regards,
Apache Git Services

[GitHub] [royale-asjs] aharui closed issue #688: Date should be selected by Default

Posted by GitBox <gi...@apache.org>.
aharui closed issue #688: Date should be selected by Default
URL: https://github.com/apache/royale-asjs/issues/688
 
 
   

----------------------------------------------------------------
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:
users@infra.apache.org


With regards,
Apache Git Services

[GitHub] [royale-asjs] pashminakazi commented on issue #688: Date should be selected by Default

Posted by GitBox <gi...@apache.org>.
pashminakazi commented on issue #688: Date should be selected by Default
URL: https://github.com/apache/royale-asjs/issues/688#issuecomment-576533178
 
 
   In simple test case of DateField,there is no default selection.

----------------------------------------------------------------
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:
users@infra.apache.org


With regards,
Apache Git Services

[GitHub] [royale-asjs] aharui commented on issue #688: Date should be selected by Default

Posted by GitBox <gi...@apache.org>.
aharui commented on issue #688: Date should be selected by Default
URL: https://github.com/apache/royale-asjs/issues/688#issuecomment-576163502
 
 
   Please, no more videos!  Please instead describe the inputs and actual vs expected outputs.  In this case, is this a regular DateField or your subclass?  What value is being assigned to the DateField?  If this is your MaskedDateField subclass, do you have the same problem assigning the same value to a regular DateField in a simple test case?
   
   If so, attach the test case.  If not, you will have to debug the logic in your subclass.

----------------------------------------------------------------
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:
users@infra.apache.org


With regards,
Apache Git Services

[GitHub] [royale-asjs] aharui commented on issue #688: Date should be selected by Default

Posted by GitBox <gi...@apache.org>.
aharui commented on issue #688: Date should be selected by Default
URL: https://github.com/apache/royale-asjs/issues/688#issuecomment-576387896
 
 
   The example should work properly with changes
   2dc9ae1d3519a711a72627c4896694eaca58936d
   c67a59e88cfd5f197a6daaa05956a365e4a0346d

----------------------------------------------------------------
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:
users@infra.apache.org


With regards,
Apache Git Services