JSFiddle - React, Tailwind, and code Playground

by shriek

HTML

<p>Destination country:
    <select data-bind="options: availableCountries, value: selector"></select>
</p>

JavaScript

var viewModel = {
    selector: 'Germany', 
    availableCountries: ko.observableArray(['France', 'Germany', 'Spain'])
};

ko.applyBindings(viewModel);