I work on a asp.net mvc project with the durandal template + breeze.
I would like to define validation logic on my view for adding/editing operations.
So far
Just stumbled into this one as well and after some trial and error I found the following:
The validation breaks down because the optionsCaption uses undefined as a value.
Your model apparently uses '' (in my case it was null) Since null != undefined it somehow all breaks down.
Knowing this, there are two solutions: