derickbailey/backbone.modelbinding — Issue #29: Boolean values of true/false are treating as strings
Author: dswitzer
Created: 2011-10-11 17:07:52+00:00
State: open

I've got a radio element group set up like this:

```
Yes
No
```

The problem is the values are sent to the model as string, not a boolean value. For elements like select and radio elements, I'd like to see at least an option to cast these as booleans. Because they're treated as strings, I can't do things like:

```

Some text

```

Since the value is a string, the lazy evaluation treats a non-empty string as true.