Sanity Library Reference Docs
    Preparing search index...

    Interface FieldMember<Node>

    Represents a field member in a form.

    interface FieldMember<Node extends BaseFormNode = BaseFormNode> {
        collapsed: boolean;
        collapsible: boolean;
        index: number;
        key: string;
        kind: "field";
        name: string;
        open: boolean;
    }

    Type Parameters

    • Node extends BaseFormNode = BaseFormNode
    Index

    Properties

    collapsed: boolean

    Whether the field is collapsed.

    collapsible: boolean

    Whether the field is collapsible.

    index: number

    The index of the field.

    key: string

    The key of the field.

    kind: "field"

    The kind of the form node.

    name: string

    The name of the field.

    open: boolean

    Whether the field is open.