backbone.modelbinding
backbone.modelbinding copied to clipboard
awesome model binding for Backbone.js
This is a simple change that could be the start of something larger. I had seen others talking about rails integration and the object[attr] names there. Rather than a major...
When having radio buttons with true/false values, the model is updated with a string. This is quite annoying, since there's really no way of knowing whether the attribute is a...
The title (and commit message) kind of speak for themselves. I have some multi-select boxes, and without this patch, the "_text" attribute is pretty useless. For example, with the view:...
HTML `` Model binding `Backbone.ModelBinding.bind(this, {all:'name'});` as this input without name attribute, ModelBinding will add a "undefined" to model object. Sumh [email protected]
Phoenix
Just wanted to share a different take on this jasmine spec that came to mind when you graciously tweeted it. A few aspects: 1. Uses the *-given DSL, which I...
I spent an hour banging my head against this. I figure it's probably useful to someone else since the docs are not explicit.
Support for binding when input type="date". This does not work correctly in iOS Safari.
So afeld/backbone-nested doesn't crushes… If using backbone.modelbind + backbone-nested and mix `StandardBinding` with `DataBindBinding` on input fields - I've got an error `TypeError: 'undefined' is not an object (evaluating 'attrPath[0]')`...
Checkboxes can now be given an identifier terminating in `[]` to denote that the value attribute should be used as an array key. For example, given the following form ```...