[ https://issues.apache.org/jira/browse/FLEX-35169?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15683905#comment-15683905 ]
Peter Ent commented on FLEX-35169: ---------------------------------- Much to my surprise, ComboBox is not actually available for JS. A large portion of it has been sequestered via COMPILE::SWF compiler directives. Since there is no real HTML equivalent, I am not sure why this happened (and I am the original author of the component). I suspect it was simply on the to-do list and forgotten. The solution is to make it available on JS. > [FlexJS] ComboBox broken on JS side > ----------------------------------- > > Key: FLEX-35169 > URL: https://issues.apache.org/jira/browse/FLEX-35169 > Project: Apache Flex > Issue Type: Bug > Reporter: Yishay Weiss > Assignee: Peter Ent > Fix For: Apache FlexJS 0.8.0 > > > On the JS side, when providing a dataProvider I get > EventDispatcher.js:68 Uncaught TypeError: Type Coercion failed(…) > I think the problem is here: > org.apache.flex.html.ComboBox.prototype.set__dataProvider = function(value) { > org.apache.flex.utils.Language.as(this.model, > org.apache.flex.core.IComboBoxModel, true).dataProvider = value; > }; > this.model is being called instead of get__model in UIElementWrapper. -- This message was sent by Atlassian JIRA (v6.3.4#6332)