JSFiddle - React, Tailwind, and code Playground
HTML
<script src="http://andersmalmgren.github.io/Knockout.BindingConventions/src/Knockout.BindingConventions.js"></script>
<select data-name="items" data-bind="optionsText: 'name', optionsCaption: 'Select...'"></select>
<div data-name="selectedItem">
<span data-name="name"></span>
</div>
JavaScript
TestViewModel = function() {
this.items = [{ name: "1" }, { name: "2" }, { name: "3" }];
this.selectedItem = ko.observable();
};
ko.applyBindings(new TestViewModel());