阅读背景:

使用从另一个选择框生成的结果填充选择框

来源:互联网 

Another new-to-ember question - I have a component that contains a select (call it type) object. When a type is selected, I want to take the selected type, make a REST call using the selected type to return records, and populate a second select object in another component with the returned records. There are too many subtypes to get during initialization (the type list is retrieved during initialization). The process currently is: 1) select value type is chosen 2) type chosen is sent to parent route and set there 3) value chosen is used by REST service to get list of subtypes. All this works now, but I have been unable to set the the component select to the subtypes retrieved by the REST service. Been beating my head against this for a while now, so any help would be appreciated. Thanks.Another new-to-ember question - I have a compon




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: