javascript - How to execute a query when selected item changes for a drop down -
i have bunch of rows , each row has drop down same values. when user selects item drop down in particular row, issue request rest api update record value selected.
here jsbin of working example local data http://jsbin.com/ocayoyo/84/edit
i'm building view this:
{{view ember.select contentbinding="app.names.content" }}
how can add observe
such executes query on api save record id
just add selectionbinding select:
{{view ember.select contentbinding="app.names.content" selectionbinding="propertywhereyouwantthevaluetoboplaced" }}
Comments
Post a Comment