fixed intermediate on non triple-state checkbox
gitea/salix/dev This commit looks good
Details
gitea/salix/dev This commit looks good
Details
This commit is contained in:
parent
7e6cb91c89
commit
87fff4e338
|
@ -38,9 +38,10 @@ export default class Controller extends Component {
|
||||||
}
|
}
|
||||||
|
|
||||||
get isIntermediate() {
|
get isIntermediate() {
|
||||||
return this.intermediate
|
if (this.intermediate || (this.tripleState && (this.model === null || this.model === undefined)))
|
||||||
|| this.model === null
|
return true;
|
||||||
|| this.model === undefined;
|
|
||||||
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
get isChecked() {
|
get isChecked() {
|
||||||
|
|
Loading…
Reference in New Issue