middag-react
    Preparing search index...

    Interface EntityPickerFormField

    Async entity picker with search autocomplete.

    interface EntityPickerFormField {
        component: "entity_picker";
        key: string;
        kind: "field";
        props: OptionFieldProps & {
            autocompleteHref?: string;
            autocompleteMinChars?: number;
            entityAvatarField?: string;
            entityDisplayField?: string;
            entitySubtitleField?: string;
        };
    }

    Hierarchy

    • FieldNodeBase
      • EntityPickerFormField
    Index

    Properties

    Properties

    component: "entity_picker"
    key: string
    kind: "field"
    props: OptionFieldProps & {
        autocompleteHref?: string;
        autocompleteMinChars?: number;
        entityAvatarField?: string;
        entityDisplayField?: string;
        entitySubtitleField?: string;
    }

    Type Declaration

    • OptionalautocompleteHref?: string

      Async search endpoint URL.

    • OptionalautocompleteMinChars?: number

      Minimum characters before search triggers.

    • OptionalentityAvatarField?: string

      Field name for avatar URL.

    • OptionalentityDisplayField?: string

      Field name for primary display label.

    • OptionalentitySubtitleField?: string

      Field name for subtitle line.