g3-toolkit API Reference
    Preparing search index...

    Interface PropertyFieldSpec

    interface PropertyFieldSpec {
        key: string;
        label?: string;
        options?: readonly string[];
        readOnly?: boolean;
        widget: PropertyWidgetKind;
    }
    Index

    Properties

    key: string

    Property key this field binds to.

    label?: string

    Display label; defaults to the key.

    options?: readonly string[]

    Allowed values for the select widget.

    readOnly?: boolean

    Force read-only even when the inspector is in edit mode.

    Widget used to render and (in edit mode) edit the value.