Upon binding a select-tag
<select data-bind="value: colorspace, options: colorspace_choices, selectmenu: {width: 100}"></select>
to
this.colorspaces_choices = ko.observableArray(['hex', 'hsv', 'lab', 'rgb', 'xyz']); this.colorspace = ko.observable();
yields:
Uncaught Error: Unable to process binding "options: function (){return thresholder.colorspace_choices }"Message: Multiple bindings (selectmenu and options) are trying to control descendant bindings of the same element. You cannot use these bindings together on the same element..
However - it does start to initialize the selectmenu (i.e. formats its size, style etc).
Dropping the selectmenu-clause causes the menu to remain uninitialized.
Knockout is v3.1.0
Knockout jQueryUI was pulled from GitHub yesterday.
Upon binding a select-tag
<select data-bind="value: colorspace, options: colorspace_choices, selectmenu: {width: 100}"></select>
tothis.colorspaces_choices = ko.observableArray(['hex', 'hsv', 'lab', 'rgb', 'xyz']); this.colorspace = ko.observable();
yields:Uncaught Error: Unable to process binding "options: function (){return thresholder.colorspace_choices }"
Message: Multiple bindings (selectmenu and options) are trying to control descendant bindings of the same element. You cannot use these bindings together on the same element.
. However - it does start to initialize the selectmenu (i.e. formats its size, style etc).Dropping the
selectmenu
-clause causes the menu to remain uninitialized.Knockout is v3.1.0 Knockout jQueryUI was pulled from GitHub yesterday.