@resistdesign/voltra
    Preparing search index...

    Type Alias RelationActionPayload

    Payload for relation action callbacks.

    type RelationActionPayload = {
        action: RelationAction;
        field: TypeInfoField;
        fieldKey: string;
        fullPaging?: boolean;
        index?: number;
        onChange: (value: FormValue) => void;
        value: ItemRelationshipInfoType | ItemRelationshipInfoType[] | undefined;
    }
    Index

    Properties

    Relation action to perform.

    Field metadata for the relation.

    fieldKey: string

    Field key that initiated the action.

    fullPaging?: boolean

    Whether relation selection should use full paging.

    index?: number

    Index when acting on an array item.

    onChange: (value: FormValue) => void

    Change handler to update the relation value.

    value: ItemRelationshipInfoType | ItemRelationshipInfoType[] | undefined

    Current relation value for the field.