interface ContactFormItemSelect {
    allowClear?: boolean | {
        clearIcon?: RenderNode;
    };
    animation?: string;
    aria-activedescendant?: string;
    aria-atomic?: Booleanish;
    aria-autocomplete?: "none" | "inline" | "both" | "list";
    aria-braillelabel?: string;
    aria-brailleroledescription?: string;
    aria-busy?: Booleanish;
    aria-checked?: boolean | "true" | "false" | "mixed";
    aria-colcount?: number;
    aria-colindex?: number;
    aria-colindextext?: string;
    aria-colspan?: number;
    aria-controls?: string;
    aria-current?: boolean | "date" | "time" | "true" | "false" | "page" | "step" | "location";
    aria-describedby?: string;
    aria-description?: string;
    aria-details?: string;
    aria-disabled?: Booleanish;
    aria-dropeffect?: "link" | "copy" | "none" | "move" | "execute" | "popup";
    aria-errormessage?: string;
    aria-expanded?: Booleanish;
    aria-flowto?: string;
    aria-grabbed?: Booleanish;
    aria-haspopup?: boolean | "dialog" | "menu" | "true" | "false" | "grid" | "listbox" | "tree";
    aria-hidden?: Booleanish;
    aria-invalid?: boolean | "true" | "false" | "grammar" | "spelling";
    aria-keyshortcuts?: string;
    aria-label?: string;
    aria-labelledby?: string;
    aria-level?: number;
    aria-live?: "off" | "assertive" | "polite";
    aria-modal?: Booleanish;
    aria-multiline?: Booleanish;
    aria-multiselectable?: Booleanish;
    aria-orientation?: "horizontal" | "vertical";
    aria-owns?: string;
    aria-placeholder?: string;
    aria-posinset?: number;
    aria-pressed?: boolean | "true" | "false" | "mixed";
    aria-readonly?: Booleanish;
    aria-relevant?: "text" | "all" | "additions" | "additions removals" | "additions text" | "removals" | "removals additions" | "removals text" | "text additions" | "text removals";
    aria-required?: Booleanish;
    aria-roledescription?: string;
    aria-rowcount?: number;
    aria-rowindex?: number;
    aria-rowindextext?: string;
    aria-rowspan?: number;
    aria-selected?: Booleanish;
    aria-setsize?: number;
    aria-sort?: "none" | "ascending" | "descending" | "other";
    aria-valuemax?: number;
    aria-valuemin?: number;
    aria-valuenow?: number;
    aria-valuetext?: string;
    autoClearSearchValue?: boolean;
    autoFocus?: boolean;
    autoSubmit?: boolean;
    bordered?: boolean;
    builtinPlacements?: BuildInPlacements;
    children?: ReactNode;
    choiceTransitionName?: string;
    className?: string;
    clearIcon?: RenderNode;
    defaultActiveFirstOption?: boolean;
    defaultOpen?: boolean;
    defaultValue?: any;
    direction?: "ltr" | "rtl";
    disabled?: boolean;
    dropdownAlign?: AlignType;
    dropdownClassName?: string;
    dropdownMatchSelectWidth?: number | boolean;
    dropdownRender?: ((menu) => ReactElement<any, string | JSXElementConstructor<any>>);
    dropdownStyle?: CSSProperties;
    fieldNames?: FieldNames;
    filterOption?: boolean | FilterFunc<ObjectOption>;
    filterSort?: ((optionA, optionB) => number);
    formItem?: Omit<FormItemProps, "label" | "name" | "validateStatus" | "optional" | "noStyle" | "autoSubmit" | "full" | "like" | "help" | "tooltip" | "requiredRule" | "initialValue" | "rules" | "skeleton">;
    full?: boolean;
    getPopupContainer?: RenderDOMFunc;
    help?: ReactNode;
    id?: string;
    initialValue?: any;
    inputValue?: string;
    label?: ReactNode;
    labelInValue?: boolean;
    like?: boolean;
    listHeight?: number;
    listItemHeight?: number;
    loading?: boolean;
    maxCount?: number;
    maxLength?: number;
    maxTagCount?: number | "responsive";
    maxTagPlaceholder?: ReactNode | ((omittedValues) => ReactNode);
    maxTagTextLength?: number;
    menuItemSelectedIcon?: RenderNode;
    mode?: "multiple" | "tags";
    name?: any;
    noStyle?: boolean;
    notFoundContent?: ReactNode;
    onBlur?: FocusEventHandler<HTMLElement>;
    onChange?: ((value, option) => void);
    onClear?: (() => void);
    onClick?: MouseEventHandler<HTMLDivElement>;
    onDeselect?: SelectHandler<any, ObjectOption>;
    onDropdownVisibleChange?: ((open) => void);
    onFocus?: FocusEventHandler<HTMLElement>;
    onInputKeyDown?: KeyboardEventHandler<HTMLInputElement | HTMLTextAreaElement>;
    onKeyDown?: KeyboardEventHandler<HTMLDivElement>;
    onKeyUp?: KeyboardEventHandler<HTMLDivElement>;
    onMouseDown?: MouseEventHandler<HTMLDivElement>;
    onMouseEnter?: MouseEventHandler<HTMLDivElement>;
    onMouseLeave?: MouseEventHandler<HTMLDivElement>;
    onPopupScroll?: UIEventHandler<HTMLDivElement>;
    onSearch?: ((value) => void);
    onSelect?: SelectHandler<any, ObjectOption>;
    open?: boolean;
    optionFilterProp?: string;
    optionLabelProp?: string;
    optionRender?: ((oriOption, info) => ReactNode);
    optional?: boolean;
    options?: (string | ObjectOption)[];
    placeholder?: ReactNode;
    placement?: "bottomLeft" | "bottomRight" | "topLeft" | "topRight";
    popupClassName?: string;
    popupMatchSelectWidth?: number | boolean;
    prefixCls?: string;
    ref?: Ref<RefSelectProps>;
    removeIcon?: RenderNode;
    requiredRule?: string | boolean;
    rootClassName?: string;
    rules?: FormRule[];
    searchValue?: string;
    showAction?: ("click" | "focus")[];
    showArrow?: boolean;
    showSearch?: boolean;
    size?: SizeType;
    skeleton?: boolean | MergeWithAs<DetailedHTMLProps<HTMLAttributes<HTMLDivElement>, HTMLDivElement>, any, Assign<DevfiveProps, MotionProps>, As>;
    status?: "" | "error" | "warning";
    style?: CSSProperties;
    suffixIcon?: ReactNode;
    tabIndex?: number;
    tagRender?: ((props) => ReactElement<any, string | JSXElementConstructor<any>>);
    title?: string;
    tokenSeparators?: string[];
    tooltip?: LabelTooltipType;
    transitionName?: string;
    type: "select";
    validateStatus?: "" | "error" | "success" | "warning" | "validating";
    value?: any;
    variant?: "filled" | "outlined" | "borderless";
    virtual?: boolean;
}

Hierarchy (view full)

Properties

allowClear? animation? aria-activedescendant? aria-atomic? aria-autocomplete? aria-braillelabel? aria-brailleroledescription? aria-busy? aria-checked? aria-colcount? aria-colindex? aria-colindextext? aria-colspan? aria-controls? aria-current? aria-describedby? aria-description? aria-details? aria-disabled? aria-dropeffect? aria-errormessage? aria-expanded? aria-flowto? aria-grabbed? aria-haspopup? aria-hidden? aria-invalid? aria-keyshortcuts? aria-label? aria-labelledby? aria-level? aria-live? aria-modal? aria-multiline? aria-multiselectable? aria-orientation? aria-owns? aria-placeholder? aria-posinset? aria-pressed? aria-readonly? aria-relevant? aria-required? aria-roledescription? aria-rowcount? aria-rowindex? aria-rowindextext? aria-rowspan? aria-selected? aria-setsize? aria-sort? aria-valuemax? aria-valuemin? aria-valuenow? aria-valuetext? autoClearSearchValue? autoFocus? autoSubmit? bordered? builtinPlacements? children? choiceTransitionName? className? clearIcon? defaultActiveFirstOption? defaultOpen? defaultValue? direction? disabled? dropdownAlign? dropdownClassName? dropdownMatchSelectWidth? dropdownRender? dropdownStyle? fieldNames? filterOption? filterSort? formItem? full? getPopupContainer? help? id? initialValue? inputValue? label? labelInValue? like? listHeight? listItemHeight? loading? maxCount? maxLength? maxTagCount? maxTagPlaceholder? maxTagTextLength? menuItemSelectedIcon? mode? name? noStyle? notFoundContent? onBlur? onChange? onClear? onClick? onDeselect? onDropdownVisibleChange? onFocus? onInputKeyDown? onKeyDown? onKeyUp? onMouseDown? onMouseEnter? onMouseLeave? onPopupScroll? onSearch? onSelect? open? optionFilterProp? optionLabelProp? optionRender? optional? options? placeholder? placement? popupClassName? popupMatchSelectWidth? prefixCls? ref? removeIcon? requiredRule? rootClassName? rules? searchValue? showAction? showArrow? showSearch? size? skeleton? status? style? suffixIcon? tabIndex? tagRender? title? tokenSeparators? tooltip? transitionName? type validateStatus? value? variant? virtual?

Properties

allowClear?: boolean | {
    clearIcon?: RenderNode;
}

Type declaration

  • Optional clearIcon?: RenderNode
animation?: string
aria-activedescendant?: string

Identifies the currently active element when DOM focus is on a composite widget, textbox, group, or application.

aria-atomic?: Booleanish

Indicates whether assistive technologies will present all, or only parts of, the changed region based on the change notifications defined by the aria-relevant attribute.

aria-autocomplete?: "none" | "inline" | "both" | "list"

Indicates whether inputting text could trigger display of one or more predictions of the user's intended value for an input and specifies how predictions would be presented if they are made.

aria-braillelabel?: string

Defines a string value that labels the current element, which is intended to be converted into Braille.

See

aria-label.

aria-brailleroledescription?: string

Defines a human-readable, author-localized abbreviated description for the role of an element, which is intended to be converted into Braille.

See

aria-roledescription.

aria-busy?: Booleanish
aria-checked?: boolean | "true" | "false" | "mixed"

Indicates the current "checked" state of checkboxes, radio buttons, and other widgets.

See

  • aria-pressed
  • aria-selected.
aria-colcount?: number

Defines the total number of columns in a table, grid, or treegrid.

See

aria-colindex.

aria-colindex?: number

Defines an element's column index or position with respect to the total number of columns within a table, grid, or treegrid.

See

  • aria-colcount
  • aria-colspan.
aria-colindextext?: string

Defines a human readable text alternative of aria-colindex.

See

aria-rowindextext.

aria-colspan?: number

Defines the number of columns spanned by a cell or gridcell within a table, grid, or treegrid.

See

  • aria-colindex
  • aria-rowspan.
aria-controls?: string

Identifies the element (or elements) whose contents or presence are controlled by the current element.

See

aria-owns.

aria-current?: boolean | "date" | "time" | "true" | "false" | "page" | "step" | "location"

Indicates the element that represents the current item within a container or set of related elements.

aria-describedby?: string

Identifies the element (or elements) that describes the object.

See

aria-labelledby

aria-description?: string

Defines a string value that describes or annotates the current element.

See

related aria-describedby.

aria-details?: string

Identifies the element that provides a detailed, extended description for the object.

See

aria-describedby.

aria-disabled?: Booleanish

Indicates that the element is perceivable but disabled, so it is not editable or otherwise operable.

See

  • aria-hidden
  • aria-readonly.
aria-dropeffect?: "link" | "copy" | "none" | "move" | "execute" | "popup"

Indicates what functions can be performed when a dragged object is released on the drop target.

Deprecated

in ARIA 1.1

aria-errormessage?: string

Identifies the element that provides an error message for the object.

See

  • aria-invalid
  • aria-describedby.
aria-expanded?: Booleanish

Indicates whether the element, or another grouping element it controls, is currently expanded or collapsed.

aria-flowto?: string

Identifies the next element (or elements) in an alternate reading order of content which, at the user's discretion, allows assistive technology to override the general default of reading in document source order.

aria-grabbed?: Booleanish

Indicates an element's "grabbed" state in a drag-and-drop operation.

Deprecated

in ARIA 1.1

aria-haspopup?: boolean | "dialog" | "menu" | "true" | "false" | "grid" | "listbox" | "tree"

Indicates the availability and type of interactive popup element, such as menu or dialog, that can be triggered by an element.

aria-hidden?: Booleanish

Indicates whether the element is exposed to an accessibility API.

See

aria-disabled.

aria-invalid?: boolean | "true" | "false" | "grammar" | "spelling"

Indicates the entered value does not conform to the format expected by the application.

See

aria-errormessage.

aria-keyshortcuts?: string

Indicates keyboard shortcuts that an author has implemented to activate or give focus to an element.

aria-label?: string

Defines a string value that labels the current element.

See

aria-labelledby.

aria-labelledby?: string

Identifies the element (or elements) that labels the current element.

See

aria-describedby.

aria-level?: number

Defines the hierarchical level of an element within a structure.

aria-live?: "off" | "assertive" | "polite"

Indicates that an element will be updated, and describes the types of updates the user agents, assistive technologies, and user can expect from the live region.

aria-modal?: Booleanish

Indicates whether an element is modal when displayed.

aria-multiline?: Booleanish

Indicates whether a text box accepts multiple lines of input or only a single line.

aria-multiselectable?: Booleanish

Indicates that the user may select more than one item from the current selectable descendants.

aria-orientation?: "horizontal" | "vertical"

Indicates whether the element's orientation is horizontal, vertical, or unknown/ambiguous.

aria-owns?: string

Identifies an element (or elements) in order to define a visual, functional, or contextual parent/child relationship between DOM elements where the DOM hierarchy cannot be used to represent the relationship.

See

aria-controls.

aria-placeholder?: string

Defines a short hint (a word or short phrase) intended to aid the user with data entry when the control has no value. A hint could be a sample value or a brief description of the expected format.

aria-posinset?: number

Defines an element's number or position in the current set of listitems or treeitems. Not required if all elements in the set are present in the DOM.

See

aria-setsize.

aria-pressed?: boolean | "true" | "false" | "mixed"

Indicates the current "pressed" state of toggle buttons.

See

  • aria-checked
  • aria-selected.
aria-readonly?: Booleanish

Indicates that the element is not editable, but is otherwise operable.

See

aria-disabled.

aria-relevant?: "text" | "all" | "additions" | "additions removals" | "additions text" | "removals" | "removals additions" | "removals text" | "text additions" | "text removals"

Indicates what notifications the user agent will trigger when the accessibility tree within a live region is modified.

See

aria-atomic.

aria-required?: Booleanish

Indicates that user input is required on the element before a form may be submitted.

aria-roledescription?: string

Defines a human-readable, author-localized description for the role of an element.

aria-rowcount?: number

Defines the total number of rows in a table, grid, or treegrid.

See

aria-rowindex.

aria-rowindex?: number

Defines an element's row index or position with respect to the total number of rows within a table, grid, or treegrid.

See

  • aria-rowcount
  • aria-rowspan.
aria-rowindextext?: string

Defines a human readable text alternative of aria-rowindex.

See

aria-colindextext.

aria-rowspan?: number

Defines the number of rows spanned by a cell or gridcell within a table, grid, or treegrid.

See

  • aria-rowindex
  • aria-colspan.
aria-selected?: Booleanish

Indicates the current "selected" state of various widgets.

See

  • aria-checked
  • aria-pressed.
aria-setsize?: number

Defines the number of items in the current set of listitems or treeitems. Not required if all elements in the set are present in the DOM.

See

aria-posinset.

aria-sort?: "none" | "ascending" | "descending" | "other"

Indicates if items in a table or grid are sorted in ascending or descending order.

aria-valuemax?: number

Defines the maximum allowed value for a range widget.

aria-valuemin?: number

Defines the minimum allowed value for a range widget.

aria-valuenow?: number

Defines the current value for a range widget.

See

aria-valuetext.

aria-valuetext?: string

Defines the human readable text alternative of aria-valuenow for a range widget.

autoClearSearchValue?: boolean
autoFocus?: boolean
autoSubmit?: boolean
bordered?: boolean

Deprecated

Use variant instead.

builtinPlacements?: BuildInPlacements
children?: ReactNode
choiceTransitionName?: string
className?: string
clearIcon?: RenderNode

Clear all icon

Deprecated

Please use allowClear instead

defaultActiveFirstOption?: boolean
defaultOpen?: boolean
defaultValue?: any
direction?: "ltr" | "rtl"
disabled?: boolean
dropdownAlign?: AlignType
dropdownClassName?: string

Deprecated

Please use popupClassName instead

dropdownMatchSelectWidth?: number | boolean

Deprecated

Please use popupMatchSelectWidth instead

dropdownRender?: ((menu) => ReactElement<any, string | JSXElementConstructor<any>>)

Type declaration

    • Parameters

      • menu: ReactElement<any, string | JSXElementConstructor<any>>

      Returns ReactElement<any, string | JSXElementConstructor<any>>

dropdownStyle?: CSSProperties
fieldNames?: FieldNames
filterOption?: boolean | FilterFunc<ObjectOption>

In Select, false means do nothing. In TreeSelect, false will highlight match item. It's by design.

filterSort?: ((optionA, optionB) => number)

Type declaration

formItem?: Omit<FormItemProps, "label" | "name" | "validateStatus" | "optional" | "noStyle" | "autoSubmit" | "full" | "like" | "help" | "tooltip" | "requiredRule" | "initialValue" | "rules" | "skeleton">
full?: boolean
getPopupContainer?: RenderDOMFunc
help?: ReactNode
id?: string
initialValue?: any
inputValue?: string

Deprecated

Use searchValue instead

label?: ReactNode
labelInValue?: boolean
like?: boolean
listHeight?: number
listItemHeight?: number
loading?: boolean
maxCount?: number
maxLength?: number
maxTagCount?: number | "responsive"
maxTagPlaceholder?: ReactNode | ((omittedValues) => ReactNode)

Type declaration

    • (omittedValues): ReactNode
    • Parameters

      • omittedValues: DisplayValueType[]

      Returns ReactNode

maxTagTextLength?: number
menuItemSelectedIcon?: RenderNode
mode?: "multiple" | "tags"
name?: any
noStyle?: boolean
notFoundContent?: ReactNode
onBlur?: FocusEventHandler<HTMLElement>
onChange?: ((value, option) => void)

Type declaration

onClear?: (() => void)

Type declaration

    • (): void
    • Returns void

onClick?: MouseEventHandler<HTMLDivElement>
onDeselect?: SelectHandler<any, ObjectOption>
onDropdownVisibleChange?: ((open) => void)

Type declaration

    • (open): void
    • Parameters

      • open: boolean

      Returns void

onFocus?: FocusEventHandler<HTMLElement>
onInputKeyDown?: KeyboardEventHandler<HTMLInputElement | HTMLTextAreaElement>
onKeyDown?: KeyboardEventHandler<HTMLDivElement>
onKeyUp?: KeyboardEventHandler<HTMLDivElement>
onMouseDown?: MouseEventHandler<HTMLDivElement>
onMouseEnter?: MouseEventHandler<HTMLDivElement>
onMouseLeave?: MouseEventHandler<HTMLDivElement>
onPopupScroll?: UIEventHandler<HTMLDivElement>
onSearch?: ((value) => void)

Type declaration

    • (value): void
    • Parameters

      • value: string

      Returns void

onSelect?: SelectHandler<any, ObjectOption>
open?: boolean
optionFilterProp?: string
optionLabelProp?: string
optionRender?: ((oriOption, info) => ReactNode)

Type declaration

    • (oriOption, info): ReactNode
    • Parameters

      • oriOption: FlattenOptionData<BaseOptionType>
      • info: {
            index: number;
        }
        • index: number

      Returns ReactNode

optional?: boolean
options?: (string | ObjectOption)[]
placeholder?: ReactNode
placement?: "bottomLeft" | "bottomRight" | "topLeft" | "topRight"
popupClassName?: string
popupMatchSelectWidth?: number | boolean
prefixCls?: string
ref?: Ref<RefSelectProps>
removeIcon?: RenderNode

Selector remove icon

requiredRule?: string | boolean
rootClassName?: string
rules?: FormRule[]
searchValue?: string
showAction?: ("click" | "focus")[]
showArrow?: boolean

Deprecated

showArrow is deprecated which will be removed in next major version. It will be a default behavior, you can hide it by setting suffixIcon to null.

showSearch?: boolean
size?: SizeType
skeleton?: boolean | MergeWithAs<DetailedHTMLProps<HTMLAttributes<HTMLDivElement>, HTMLDivElement>, any, Assign<DevfiveProps, MotionProps>, As>
status?: "" | "error" | "warning"
style?: CSSProperties
suffixIcon?: ReactNode
tabIndex?: number
tagRender?: ((props) => ReactElement<any, string | JSXElementConstructor<any>>)

Type declaration

    • (props): ReactElement<any, string | JSXElementConstructor<any>>
    • Parameters

      • props: CustomTagProps

      Returns ReactElement<any, string | JSXElementConstructor<any>>

title?: string
tokenSeparators?: string[]
tooltip?: LabelTooltipType
transitionName?: string
type: "select"
validateStatus?: "" | "error" | "success" | "warning" | "validating"
value?: any
variant?: "filled" | "outlined" | "borderless"

Since

5.13.0

Default

"outlined"
virtual?: boolean

Generated using TypeDoc