Knockout JS mapping plugin without initial data / empty form
A couple of options for you besides just manually managing your view model. The mapping plugin supports a create callback that lets you customize how it gets created. This can be used to add default properties to an object, if they happen to be missing. Something like this: http://jsfiddle.net/rniemeyer/WQGVC/ Another alternative is to use a … Read more