JSFiddle - React, Tailwind, and code Playground

HTML

<p>
    Selecte a car:
    <select data-bind="value: selectedValue, options: carOptions, optionsText: 'm'">
      
    </select>
</p>

<span data-bind="text: selectedValue().m"></span>
<br/>
<span data-bind="text: selectedValue().c"></span>

JavaScript

var viewModel = {
      selectedValue : ko.observable(),
      selectedText :  ko.observable(),
    carOptions : [{m:'Volvo', c:'V'}, {m:'Saab', c:'S'}, {m:'Lotus', c:'L'}]
};

ko.applyBindings(viewModel);