Just a short note to myself, what we need for options binding, so that it can work properly.
<select autowidth="true" data-bind=" options: $root.carTypes ,optionsValue: 'carValue' ,value: myTest "></select>
Where myTest is like:
function CarsView(initialValues) { var self = this; self.myTest = ko.observable(initialValues); }
If we need model to pass, then model should look like:
carsModel = [ { carTypes: ko.observable('Ferrari'), myTest: ko.observable('Ferrari') } ];
Not finished example you can see here.