Hex Core JS
    Preparing search index...

    Type Alias MultiSelectFieldProps<FV, T>

    MultiSelectFieldProps: ArrayFieldProps<FV, T[]> & {
        formattedBlank?: string;
        Input?: (props: MultiSelectFieldInputProps<T>) => JSX.Element | null;
        isLoading?: boolean;
        maxItems?: number;
        minItems?: number;
        options: MultiSelectInputOption<T>[];
        placeholder?: string;
        refetchOptions?: () => void;
    } & Pick<
        MultiSelectInputProps<T>,
        "pageSize" | "openSide" | "displayOption" | "footerElement" | "inline",
    > & Partial<ClassNameProps & StyleProps>

    Type Parameters

    Type Declaration

    • OptionalformattedBlank?: string

      The text to display when the value is blank.

    • OptionalInput?: (props: MultiSelectFieldInputProps<T>) => JSX.Element | null

      The input component to use when editing.

    • OptionalisLoading?: boolean

      Indicates if the options are currently loading.

    • OptionalmaxItems?: number

      Maximum length for values (validation).

    • OptionalminItems?: number

      Minimum length for values (validation).

    • options: MultiSelectInputOption<T>[]

      The options for the field.

    • Optionalplaceholder?: string

      Placeholder text to display in the search input.

    • OptionalrefetchOptions?: () => void

      A callback function that refetches options.