Use proper field
This commit is contained in:
parent
f666b35bd1
commit
1557b02682
|
@ -33,7 +33,7 @@ const validationKeyByType: Record<UIDatasourceType, string | null> = {
|
||||||
query: "_id",
|
query: "_id",
|
||||||
custom: null,
|
custom: null,
|
||||||
link: "rowId",
|
link: "rowId",
|
||||||
field: "label",
|
field: "value",
|
||||||
}
|
}
|
||||||
|
|
||||||
export const screenComponentErrors = derived(
|
export const screenComponentErrors = derived(
|
||||||
|
@ -73,7 +73,7 @@ export const screenComponentErrors = derived(
|
||||||
"rowId",
|
"rowId",
|
||||||
bindings.extractRelationships(componentBindings)
|
bindings.extractRelationships(componentBindings)
|
||||||
),
|
),
|
||||||
...reduceBy("label", bindings.extractFields(componentBindings)),
|
...reduceBy("value", bindings.extractFields(componentBindings)),
|
||||||
}
|
}
|
||||||
|
|
||||||
const resourceId = componentSettings[validationKey]
|
const resourceId = componentSettings[validationKey]
|
||||||
|
|
Loading…
Reference in New Issue