JSFiddle - React, Tailwind, and code Playground
HTML
<script src="http://knockoutjs.com/downloads/knockout-3.1.0.js"></script>
<select data-bind="options: choices, optionsValue: 'id', optionsText: 'name', value: choice, valueAllowUnset: true"></select>
JavaScript
function ViewModel() {
this.choices = ko.observableArray();
this.choice = ko.observable(3);
};
var choices = [
{ id: 1, name: "one" },
{ id: 2, name: "two" },
{ id: 3, name: "three" }
];
var vm = new ViewModel();
ko.applyBindings(vm);
setTimeout(function(){
vm.choices(choices);
}, 500)