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

Empty observe array in mapping options creates observables from all properties

Open lwiseman opened this issue 10 years ago • 1 comments
trafficstars

I expect the mapping plugin to create no observables from the properties of the JS object, and instead, simply copy. See fiddle for a demonstration of the issue and a workaround:

http://jsfiddle.net/j6w18wba/

lwiseman avatar Feb 13 '15 18:02 lwiseman

@lwiseman I don't think this is likely to change. The library defaults other options like that as well - include, ignore etc. You might want to use copy option instead.

crissdev avatar Feb 23 '15 16:02 crissdev