Why does this binding fail with a "value not found" exception?
<select data-bind="options: $root.arr, optionsValue: key, optionsText: value"></select>
The options array's data is this:
ko.observableArray ([
{key: 'foo', value: '1'},
{key: 'bar', value: '2'}
])
I already solved my own problem but laying down a StackOverflow breadcrumb trail so others won't waste their time like I did trying to figure this out. ;-)