0
我有一個名爲kitsController的控制器和一個名爲節點的屬性的套件對象。節點是介於1和5之間的數字。但這些數字與任何其他控制器都沒有關係,我是否仍然使用ember.select?一個看法?其他?例如:emberjs從預定義的選項範圍中選擇
{{#view
contentBinding="App.kitsController"
valueBinding="nodes"
tagName="select"}}
what goes here to:
a) iterate the options 1 - 5 ?
b) show the selected value ?
c) update the value of the property on change ?
{{/view}}
此外,如果財產是國家和我有一個巨大的名單?
是的,它似乎矯枉過正,除非它可以以某種方式擴展,但我不能解決這個問題..我希望像knockout的數據綁定=「選項:someSimpleArray – 2012-02-08 06:55:53
其他人幫助我幾乎這個相同的問題:http://jsfiddle.net/maml/WFbQP/4/。仍然有問題b)&c)雖然 – Pickle 2012-02-08 16:23:15