backbone.modelbinding icon indicating copy to clipboard operation
backbone.modelbinding copied to clipboard

Radiogroup binding converts true/false values to actual booleans before updating the model

Open thedersen opened this issue 13 years ago • 0 comments

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 string or a boolean.

This pull fixes it by converting 'true' to true and 'false' to false before updating the mode.

thedersen avatar Feb 17 '12 09:02 thedersen