knockout.mapping icon indicating copy to clipboard operation
knockout.mapping copied to clipboard

Add normalize callback to normalize the update and create options.data

Open lisandropuzzolo opened this issue 11 years ago • 0 comments

If some property of your model expects to receive some type of data, for example and Object, and it receives a String or Null, mapping fails.

I added the normalize callback to normalize the data before it passes to update and create callbacks.

lisandropuzzolo avatar Jun 12 '13 17:06 lisandropuzzolo