Skip to content

Commit 02efd73

Browse files
committed
fix: rich editor state by correcting return
1 parent 74786ca commit 02efd73

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Fields/RichEditor.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -178,7 +178,7 @@ private static function getFieldValueFromRecord(Model $record, Field $field): mi
178178
return $values[$field->ulid] ?? null;
179179
}
180180

181-
return null;
181+
return $record->values[$field->ulid] ?? null;
182182
}
183183

184184
private static function isRelationship(mixed $values): bool

0 commit comments

Comments
 (0)