Binding Action in Ember.Select

余生颓废 提交于 2019-12-12 10:46:30

问题


I was wondering how to bind an action in an Ember.Select só when the user change the category i could perform other operations:

{{view Ember.Select class="form-control" id="PackCategory"
            content=Categories
            optionValuePath="content.categoryId"
            optionLabelPath="content.name"
            value=VendingAdminController.selectedPack.categoryId}}

and also how to specify the view as the target?

Thank you

来源:https://stackoverflow.com/questions/25490556/binding-action-in-ember-select

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!