Type alias SelectProps

SelectProps: {
    as?: "default" | "virtual";
    customPlaceholder?: string;
    disabled?: boolean;
    filterDelay?: number;
    fixed?: boolean;
    footer?: ReactElement | null;
    header?: ReactElement | null;
    hideSelected?: boolean;
    inputProps?: InputProps;
    noListFocus?: boolean;
    noOptionsComponent?: any;
    onClose?: (() => void);
    onFilter?: any;
    onOpen?: (() => void);
    onSelect: any;
    openOnFocus?: boolean;
    openOnMount?: boolean;
    optionComponent?: any;
    options: SelectOption[];
    placeholder: string;
    prefix?: any;
    readOnly?: boolean;
    render?: any;
    selectListProps?: SelectListProps;
    selectPopoverProps?: any;
    selected: (string | number)[];
    size?: Size;
    suffix?: any;
    tagInput?: boolean;
    tagInputFieldProps?: TagInputFieldProps;
    tagInputProps?: TagInputProps;
    trapFocus?: boolean;
    variant?: "default" | "static";
    virtualProps?: SelectListVirtual;
} & Omit<CoreViewProps, "onSelect">

Type declaration

  • Optional as?: "default" | "virtual"
  • Optional customPlaceholder?: string
  • Optional disabled?: boolean
  • Optional filterDelay?: number
  • Optional fixed?: boolean
  • Optional footer?: ReactElement | null
  • Optional header?: ReactElement | null
  • Optional hideSelected?: boolean
  • Optional inputProps?: InputProps
  • Optional noListFocus?: boolean
  • Optional noOptionsComponent?: any
  • Optional onClose?: (() => void)
      • (): void
      • Returns void

  • Optional onFilter?: any
  • Optional onOpen?: (() => void)
      • (): void
      • Returns void

  • onSelect: any
  • Optional openOnFocus?: boolean
  • Optional openOnMount?: boolean
  • Optional optionComponent?: any
  • options: SelectOption[]
  • placeholder: string
  • Optional prefix?: any
  • Optional readOnly?: boolean
  • Optional render?: any
  • Optional selectListProps?: SelectListProps
  • Optional selectPopoverProps?: any
  • selected: (string | number)[]
  • Optional size?: Size
  • Optional suffix?: any
  • Optional tagInput?: boolean
  • Optional tagInputFieldProps?: TagInputFieldProps
  • Optional tagInputProps?: TagInputProps
  • Optional trapFocus?: boolean

    Description

    traps the focus within the options list

  • Optional variant?: "default" | "static"
  • Optional virtualProps?: SelectListVirtual

Generated using TypeDoc