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

optionsCaption causes bound "value" to be deleted

Open heberda opened this issue 8 years ago • 0 comments

I've created an observable called "ChosenName" and this is present in my input data.

I then bind this to a drop down which uses the optionsCaption markup.

Now when using "toJSON" is appears to have gone! I have found two work arounds but I might fork and look into a fix, you never know :)

http://jsfiddle.net/heberda/k0ofx859/4/

heberda avatar Jun 30 '17 08:06 heberda