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 e716dd7 commit 9f5b84aCopy full SHA for 9f5b84a
src/structured-list/list-row.component.ts
@@ -61,11 +61,7 @@ export class ListRow implements AfterContentInit {
61
@Input() @HostBinding("class.bx--structured-list-row--selected")
62
set selected(value: boolean) {
63
if (!this.input) { return; }
64
- if (value) {
65
- this.input.nativeElement.checked = true;
66
- } else {
67
- this.input.nativeElement.checked = null;
68
- }
+ this.input.nativeElement.checked = value ? true : null;
69
}
70
71
get selected() {
0 commit comments