backbone views - List editor and events of its items editors -


i have simple model:

var listitem = backbone.model.extend({     schema: {         name: 'text',     } }); 

and simple model has list inside:

var configuration = backbone.model.extend({     schema: {         list: {             type:     'list',             itemtype: 'nestedmodel',             model:    listitem         }     } }); 

and form:

var form = new backbone.form({ model: configuration }).render(); 

i need listen events on listitem's "name" editor.

when use this:

form.on('all', function() { console.log('print something') }); 

i did not "name" editor.

i've tried lot of other events names non of them working in case.

how can listen change events on listitem's "name" editor?


Comments

Popular posts from this blog

java - Multi-Label Document Classification -

php - Dynamic url re-writing using htaccess -

python - How to create a legend for 3D bar in matplotlib? -