edges wip

This commit is contained in:
2026-01-10 02:09:50 +02:00
parent 87ab1f57fd
commit ced6146266
19 changed files with 380 additions and 271 deletions
+1 -1
View File
@@ -157,7 +157,7 @@ class RecordValidationModule
string $locale,
): ?RecordField {
return collect($recordFields)->first(
fn(RecordField $field) => $field->id === $schemaField->id &&
fn(RecordField $field) => $field->fieldId === $schemaField->id &&
$field->locale === $locale &&
$field->mode === RecordMode::DRAFT,
);