I'm using knockout with the knockout.viewmodel plugin. http://coderenaissance.github.io/knockout.viewmodel/
// JavaScript
// data variable is loaded from an ajax call
/*
var data = { simple: { friendlyText: "Hello World" } };
*/
viewmodel.scenario = ko.viewmodel.fromModel(data, options);
<!-- HTML Page -->
<!-- This does not bind -->
<input type="text" length="50" data-bind="textInput: scenario.simple.friendlyText" />
<!-- This does bind -->
<label data-bind="text: scenario.simple.friendlyText"></label>
What's special about the textInput binding on the input
element that I'm missing or not doing?