Skip to content

Commit

Permalink
fix(cosmoz-omnitable-column-boolean): make listbox render when clicki…
Browse files Browse the repository at this point in the history
…ng boolean chip
  • Loading branch information
micaelagoffe committed Aug 23, 2024
1 parent a46f005 commit c026757
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions cosmoz-omnitable-column-boolean.js
Original file line number Diff line number Diff line change
Expand Up @@ -105,15 +105,15 @@ class OmnitableColumnBoolean extends columnMixin(PolymerElement) {
? html`<paper-spinner-lite style="width: 20px; height: 20px;" suffix slot="suffix" active></paper-spinner-lite>`
: nothing;

return html`<cosmoz-autocomplete-ui
return html`<cosmoz-autocomplete

Check warning on line 108 in cosmoz-omnitable-column-boolean.js

View check run for this annotation

Codecov / codecov/patch

cosmoz-omnitable-column-boolean.js#L108

Added line #L108 was not covered by tests
no-label-float
.title=${ computeItemTooltip(column.title, item, column.valuePath, computeSource(trueLabel, falseLabel)) }
.source=${ computeSource(trueLabel, falseLabel) }
.textProperty=${ 'text' }
.value=${ computeItemValue(column, item, computeSource(trueLabel, falseLabel)) }
.onChange=${ onEditableChange(onItemChange) }
.limit=${ 1 }
>${ spinner }</cosmoz-autocomplete-ui>`;
>${ spinner }</cosmoz-autocomplete>`;

Check warning on line 116 in cosmoz-omnitable-column-boolean.js

View check run for this annotation

Codecov / codecov/patch

cosmoz-omnitable-column-boolean.js#L116

Added line #L116 was not covered by tests
}

renderHeader(column, { filter, query }, setState, source) {
Expand Down

0 comments on commit c026757

Please sign in to comment.