montagejs/montage — pull request #1227 by mczepiel (2013-07-19 00:12:39+00:00)
Title: Sanitize abstractTextField propagated DOM value

In general, we don't want to present undefined, nulls, etc. as anything
more than empty strings.

I'm not positive about what we want to do about boolean values, they do have sane toString implementations so I could go that direction, but I was leaning towards not presenting anything that doesn't have a straightforward built-in way to be converted back from a string.