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

user interface - Python attempting to create a simple gui, getting "AttributeError: 'MainMenu' object has no attribute 'intro_screen'" -

jquery - Common JavaScript snippet to share files on Google Drive, Dropbox, Box.net or SkyDrive -

Android Gson.fromJson error -