relationShip fixes
This commit is contained in:
@@ -71,7 +71,7 @@ export default function FormField({
|
|||||||
|
|
||||||
// 2. Relation Handling (Select / Multi-Select)
|
// 2. Relation Handling (Select / Multi-Select)
|
||||||
if (field.relation && relationDataMap[field.relation]) {
|
if (field.relation && relationDataMap[field.relation]) {
|
||||||
const relationData = relationDataMap[field.relation];
|
const relationData = relationDataMap[field.relation].data;
|
||||||
const isArrayRelation = field.type === 'array';
|
const isArrayRelation = field.type === 'array';
|
||||||
|
|
||||||
// Determine how to display the related item
|
// Determine how to display the related item
|
||||||
|
|||||||
Reference in New Issue
Block a user