Skip to content

Commit

Permalink
fix: new "buttonset" does not update selection when the value is upda…
Browse files Browse the repository at this point in the history
…ted outside from the widget (e.g: undo/redo)
  • Loading branch information
bago committed May 26, 2022
1 parent 4ae5ad9 commit e4cebd6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/js/widgets/select.js
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ var widgetPlugin = {
if (typeof parameters.buttonsetLabels !== 'undefined') labels = _getOptionsObject(parameters.buttonsetLabels);

var html1 = '<!-- ko letproxy: { prop: ' + propAccessor + ' } -->';
html1 += '<div data-bind="buttonset: { }, ' + onfocusbinding + '" style="display: inline-block">';
html1 += '<div data-bind="buttonset: { refreshOn: prop }, ' + onfocusbinding + '" style="display: inline-block">';
// html1 += '<div class="ui-buttonset" style="display: inline-block">';
for (var opt1 in opts) {
optionCounter++;
Expand Down

0 comments on commit e4cebd6

Please sign in to comment.