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/03/02 09:59:04 UTC
[GitHub] [royale-asjs] pashminakazi opened a new issue #746: TypeError:
Cannot read property 'text' of null
pashminakazi opened a new issue #746: TypeError: Cannot read property 'text' of null
URL: https://github.com/apache/royale-asjs/issues/746
This Exception is thrown,when i select date,date can't be selected in every setup

----------------------------------------------------------------
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 removed a comment on issue #746: TypeError:
Cannot read property 'text' of null
Posted by GitBox <gi...@apache.org>.
aharui removed a comment on issue #746: TypeError: Cannot read property 'text' of null
URL: https://github.com/apache/royale-asjs/issues/746#issuecomment-594135368
Not sure what changed, but in the MaskedTextInput's text setter the call to updateDisplayList can access the embedTextField which hasn't been created yet. You can try checking if the component is has a parent
```
if (parent)
updateDisplayList(0,0);
```
Or call updateDisplayList in an override of addedToParent() as I've suggested on some other issues.
----------------------------------------------------------------
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 #746: TypeError: Cannot
read property 'text' of null
Posted by GitBox <gi...@apache.org>.
aharui commented on issue #746: TypeError: Cannot read property 'text' of null
URL: https://github.com/apache/royale-asjs/issues/746#issuecomment-594135368
Not sure what changed, but in the MaskedTextInput's text setter the call to updateDisplayList can access the embedTextField which hasn't been created yet. You can try checking if the component is has a parent
```
if (parent)
updateDisplayList(0,0);
```
Or call updateDisplayList in an override of addedToParent() as I've suggested on some other issues.
----------------------------------------------------------------
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 #746: TypeError: Cannot
read property 'text' of null
Posted by GitBox <gi...@apache.org>.
aharui commented on issue #746: TypeError: Cannot read property 'text' of null
URL: https://github.com/apache/royale-asjs/issues/746#issuecomment-594139615
After more investigation, the dateField flag is set in MaskedTextInput in the DateField, but the embedTextField is null.
----------------------------------------------------------------
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 #746: TypeError: Cannot read
property 'text' of null
Posted by GitBox <gi...@apache.org>.
aharui closed issue #746: TypeError: Cannot read property 'text' of null
URL: https://github.com/apache/royale-asjs/issues/746
----------------------------------------------------------------
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