diff --git a/src/GridFieldEditableColumns.php b/src/GridFieldEditableColumns.php index 52057da..c48eb16 100644 --- a/src/GridFieldEditableColumns.php +++ b/src/GridFieldEditableColumns.php @@ -339,7 +339,7 @@ class GridFieldEditableColumns extends GridFieldDataColumns implements private function isChanged(DataObject $item, array $fields): bool { foreach ($fields as $name => $value) { - if ((string) $item->getField($name) !== (string) $value) { + if ($item->getField($name) !== $value) { return true; } }