@dxos/react-ui-form
    Preparing search index...

    Type Alias ObjectMultiPickerProps

    ObjectMultiPickerProps: Omit<PickerBaseProps, "onCreate"> & {
        "data-testid"?: string;
        onCreate?: (values: any) => Promise<string | undefined>;
        onValueChange: (ids: string[]) => void;
        ordered?: boolean;
        placeholder?: string;
        value: string[];
    }

    Type declaration

    • Optionaldata-testid?: string
    • OptionalonCreate?: (values: any) => Promise<string | undefined>

      Persists the create form's values and returns the new option's id, which is then selected.

    • onValueChange: (ids: string[]) => void
    • Optionalordered?: boolean

      Chips reorder by drag, or Alt+ArrowLeft/Right on a focused chip.

    • Optionalplaceholder?: string

      Shown in place of chips while nothing is selected.

    • value: string[]

      The selected options' ids, in order.