Show the correct indeterminate state when editing new boolean values. Fixes #2218

This commit is contained in:
Murtuza Zabuawala 2017-03-06 10:30:58 +00:00 committed by Dave Page
parent 278c64c361
commit af499c0c9a

View File

@ -469,7 +469,7 @@
this.loadValue = function (item) {
defaultValue = item[args.column.pos];
if (_.isNull(defaultValue)) {
if (_.isNull(defaultValue)||_.isUndefined(defaultValue)) {
$select.prop('indeterminate', true);
}
else {
@ -754,7 +754,7 @@
this.loadValue = function (item) {
defaultValue = item[args.column.field];
if (_.isNull(defaultValue)) {
if (_.isNull(defaultValue)||_.isUndefined(defaultValue)) {
$select.prop('indeterminate', true);
}
else {