Peter Morlion logo


“String expected” error with Knockout in IE10

If you switched to **IE10 **and your Knockout bindings that previously worked in IE (8 in my case) now give you the following error: "String expected", you might want to check your bindings. Mine had a computed ‘toString’ member. I’m not sure what’s happening but choosing the name of an existing, default member might not be a good idea.

Replacing it with something else (i.e. "description") and updating my markup fixed this issue. Just putting this out here in case someone else encounters the same problem.

Leave a Reply

Your email address will not be published. Required fields are marked *