JSFiddle - React, Tailwind, and code Playground

by runjep

HTML

<input type="text" data-bind="value:userinput,valueUpdate: 'keyup',hasfocus:true"/>
<p data-bind="text:userinput"/>
<p>Type something and then use the delete text button/icon available in IE10 and notice the userinput will not be updated</p>

JavaScript

var ViewModel = function () {
    this.userinput=ko.observable('');
}
ko.applyBindings(new ViewModel());