mirror of
https://github.com/pgadmin-org/pgadmin4.git
synced 2024-11-26 02:30:21 -06:00
Show the correct indeterminate state when editing new boolean values. Fixes #2218
This commit is contained in:
parent
278c64c361
commit
af499c0c9a
@ -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 {
|
||||
|
Loading…
Reference in New Issue
Block a user