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

Popular posts from this blog

java - Run a .jar on Heroku -

java - Jtable duplicate Rows -

validation - How to pass paramaters like unix into windows batch file -