Bart wood

Results 32 comments of Bart wood

At some point in the near future, I will just add a check to see if the remove function is defined on the view and call that. I need to...

I agree. If you'd like, add it to the options, please test it out and do a pull request.

@lastquestion Don't worry about the travis build. I was having trouble getting PhantomJS hooked up and gave up.

I like lodash and would be happy to have the model binder work with either Underscore or Lodash as a configuration option. I know they are supposed to be interchangeable...

@adammorris Yeah, that solution looks pretty close to what I do in that situation... ``` // If you do this kind of thing globally you could also set changeTriggers via...

The best way would be to use the CollectionBinder and the CollectionBinder will generate a view with an input element for every model found in the collection. It looks like...

If your binding checkbox's without specifying bindings, the checkboxes need to have unique names - otherwise each of the checkbox elements will be bound to the same model's attribute name....

Please show me how your unique checkbox values are stored in your model - the data structure. For example... ``` var model = new Backbone.Model(); model.set( {jam: false, nutella: true,...

@summerisgone "So maybe if ModelBinder run into html with checkboxes with same names, it should treat them as options of multiple select." OK, I might be able to enhance the...

@joeytheman Sorry but the model binder won't support arrays of properties like that - one reason is that there is no 'change' event that backbone will trigger when you push...