mirror of
https://github.com/directus/directus.git
synced 2026-04-25 03:00:53 -04:00
prevent translations validation error match parent (#13930)
This commit is contained in:
@@ -52,7 +52,11 @@
|
||||
:primary-key="primaryKey"
|
||||
:loading="loading"
|
||||
:validation-error="
|
||||
validationErrors.find((err) => err.field === field.field || err.field.endsWith(`(${field.field})`))
|
||||
validationErrors.find(
|
||||
(err) =>
|
||||
err.collection === field.collection &&
|
||||
(err.field === field.field || err.field.endsWith(`(${field.field})`))
|
||||
)
|
||||
"
|
||||
:badge="badge"
|
||||
@update:model-value="setValue(field.field, $event)"
|
||||
|
||||
Reference in New Issue
Block a user