Backbone.ModelBinder
Backbone.ModelBinder copied to clipboard
Simple, flexible and powerful Model-View binding for Backbone.
Looks like there's been quite some time between the latest commit (10/16/2018) and the latest release (6/1/2015). Any chance we can get all of those commits released to an npm...
ModelBinder is unable to correctly check a radio button if its value is a boolean. The problem manifests on line 397 of ModelBinder.js: ``` javascript case 'radio': el.prop('checked', el.val() ===...
When root collection item element is provided to getManagerForEl(), manager is not resolved because of a missing self-check. Provided a unit test demonstrating the issue. Note that I re-generated minified...
Hi, I have a problem with a nested model: { name:'Gabo', scheduler:{ date: 1987198712, type: 'daily' } } the modelBind doesn't recognize the properties in scheduler, how can I do...
Hi, I just hit an issue while defining multiple binder on the same field. Typically, if I have following input field : ``` ``` and I define following model binder...
Hi, I'm having difficulty getting ModelBinder to bind to selects enhanced with Select2 - http://ivaynberg.github.io/select2/ Picking a value in the Select2 select will propagate to the model, but when a...
Backbone should be listed as peerDependency on package.json, otherwise you may get different instances of Backbone https://nodejs.org/en/blog/npm/peer-dependencies/
The _getElValue function ignores the checkbox value attribute (if they are defined) when a standard html form would submit the value attribute for a checked state (and false for an...
Instead of ``` javascript isElContained: function(findEl){ return this._el === findEl || $(this._el).has(findEl).length > 0; } ``` should be ``` javascript isElContained: function(findEl){ return this._el[0] === findEl || $(this._el).has(findEl).length > 0;...