JSFiddle - React, Tailwind, and code Playground
HTML
<script src="http://andersmalmgren.github.io/Knockout.BindingConventions/src/Knockout.BindingConventions.js"></script>
<input data-name="value" />
JavaScript
TestViewModel = function() {
this.value = ko.observable();
this.checked = ko.observable(false);
this.canChangeValue = ko.computed(function() {
return this.value() !== "disable";
}, this);
};
ko.applyBindings(new TestViewModel());