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 2019/10/09 18:36:51 UTC

[GitHub] [royale-asjs] carlosrovira commented on issue #499: Uncaught TypeError: Cannot set property 'html' of undefined on j:Label on SDK 0.9.6

carlosrovira commented on issue #499: Uncaught TypeError: Cannot set property 'html' of undefined on j:Label on SDK 0.9.6
URL: https://github.com/apache/royale-asjs/issues/499#issuecomment-540132628
 
 
   I think that's interesting and hope @aharui could give us a hand here.
   
   The problem seems to be caused by `states` and `includeIn`. So referencing components in views where we have states, or even using **bindings** could make Royale not able to reference the component if we use `includeIn`. IMHO, this is a bug in states, since it fails in this kind of situations.
   
   I think a workaround for this is use **visibility** instead of **includeIn**. Check this for an example in both formats: https://royale.apache.org/using-view-states-to-show-or-hide-content/

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