Skip to content

Commit

Permalink
[Core] Checkbox: fix indeterminate state update (#3409)
Browse files Browse the repository at this point in the history
Fixes #3408
  • Loading branch information
adidahiya authored Mar 12, 2019
1 parent a919718 commit d724c5d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/core/src/components/forms/controls.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -252,7 +252,7 @@ export class Checkbox extends React.PureComponent<ICheckboxProps, ICheckboxState
}

private updateIndeterminate() {
if (this.state.indeterminate != null) {
if (this.input != null) {
this.input.indeterminate = this.state.indeterminate;
}
}
Expand Down

1 comment on commit d724c5d

@blueprint-bot
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

[Core] Checkbox: fix indeterminate state update (#3409)

Previews: documentation | landing | table

Please sign in to comment.