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
Post a Comment