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/10/12 07:17:35 UTC
[GitHub] [royale-asjs] yishayw opened a new issue #918: labelField always expected to exist in spark dropdown
yishayw opened a new issue #918:
URL: https://github.com/apache/royale-asjs/issues/918
This
```
<?xml version="1.0" encoding="utf-8"?>
<s:Application xmlns:fx="http://ns.adobe.com/mxml/2009"
xmlns:s="library://ns.apache.org/royale/spark">
<s:DropDownList
focusEnabled="false"
selectedIndex="0"
width="60"
>
<s:dataProvider>
<s:ArrayList>
<fx:String>200</fx:String>
</s:ArrayList>
</s:dataProvider>
</s:DropDownList>
</s:Application>
```
Will result in
TypeError: Cannot read property 'toString' of undefined
spark.components.beads.DropDownListView.spark_components_beads_DropDownListView_selectionChangeHandler (DropDownListView.js:58)
org.apache.royale.events.EventDispatcher.fireListeners (EventDispatcher.js:97)
goog.events.EventTarget.dispatchEventInternal_ (eventtarget.js:382)
org.apache.royale.events.EventDispatcher.dispatchEvent (EventDispatcher.js:72)
mx.controls.beads.models.SingleSelectionIListModel.set__dataProvider (SingleSelectionIListModel.js:103)
spark.components.supportClasses.DropDownListBase.set__dataProvider (DropDownListBase.js:54)
org.apache.royale.utils.MXMLDataInterpreter.initializeStrandBasedObject (MXMLDataInterpreter.js:193)
org.apache.royale.utils.MXMLDataInterpreter.generateMXMLArray (MXMLDataInterpreter.js:121)
org.apache.royale.utils.MXMLDataInterpreter.generateMXMLInstances (MXMLDataInterpreter.js:265)
mx.core.UIComponent.createChildren (UIComponent.js:955)
spark.components.SkinnableContainer.createChildren (SkinnableContainer.js:147)
spark.components.Application.createChildren (Application.js:90)
mx.core.UIComponent.initialize (UIComponent.js:901)
mx.core.UIComponent.addedToParent (UIComponent.js:442)
spark.components.SkinnableContainer.addedToParent (SkinnableContainer.js:133)
org.apache.royale.core.UIBase.addElement (UIBase.js:395)
mx.managers.SystemManager.addChild (SystemManager.js:109)
mx.managers.SystemManager.mx_managers_SystemManager_initializeTopLevelWindow (SystemManager.js:244)
mx.managers.SystemManager.start (SystemManager.js:227)
(anonymous) (index.html:393)
----------------------------------------------------------------
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
[GitHub] [royale-asjs] yishayw commented on issue #918: labelField always expected to exist in spark dropdown
Posted by GitBox <gi...@apache.org>.
yishayw commented on issue #918:
URL: https://github.com/apache/royale-asjs/issues/918#issuecomment-706927630
@aharui, can u have a look?
----------------------------------------------------------------
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
[GitHub] [royale-asjs] Harbs closed issue #918: labelField always expected to exist in spark dropdown
Posted by GitBox <gi...@apache.org>.
Harbs closed issue #918:
URL: https://github.com/apache/royale-asjs/issues/918
----------------------------------------------------------------
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
[GitHub] [royale-asjs] aharui commented on issue #918: labelField always expected to exist in spark dropdown
Posted by GitBox <gi...@apache.org>.
aharui commented on issue #918:
URL: https://github.com/apache/royale-asjs/issues/918#issuecomment-706939931
I might have time this week, but if you want to try something, bring in LabelUtil and call it after checking for the prompt.
----------------------------------------------------------------
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