We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0d855e6 commit e1370f3Copy full SHA for e1370f3
packages/uui-table/lib/uui-table-advanced-example.ts
@@ -246,8 +246,9 @@ export class UUITableWithSelectionExampleElement extends LitElement {
246
<uui-checkbox
247
style="padding: var(--uui-size-4) var(--uui-size-5);"
248
@change="${this._selectAllHandler}"
249
- ?checked="${this._selection.length ===
250
- this._items.length}"></uui-checkbox>
+ ?checked="${this._selection.length === this._items.length}"
+ ?indeterminate="${this._selection.length > 0 &&
251
+ this._selection.length < this._items.length}"></uui-checkbox>
252
</uui-table-head-cell>
253
${this._columns.map(column => this.renderHeaderCellTemplate(column))}
254
</uui-table-head>
0 commit comments