ant-design/73ae3d24-async.7e62b730.js
2024-11-20 18:30:54 +00:00

1 line
9.4 KiB
JavaScript

(("undefined"!=typeof globalThis?globalThis:self).makoChunk_antd=("undefined"!=typeof globalThis?globalThis:self).makoChunk_antd||[]).push([["73ae3d24"],{"73ae3d24":function(e,a,t){"use strict";t.d(a,"__esModule",{value:!0}),t.d(a,"texts",{enumerable:!0,get:function(){return d;}}),t("8b864599");let d=[{value:"When you need an input box instead of a selector.",paraId:0,tocIndex:0},{value:"When you need input suggestions or helping text.",paraId:0,tocIndex:0},{value:"The differences with Select are:",paraId:1,tocIndex:0},{value:"AutoComplete is an input box with text hints, and users can type freely. The keyword is aiding ",paraId:2,tocIndex:0},{value:"input",paraId:2,tocIndex:0},{value:".",paraId:2,tocIndex:0},{value:"Select is selecting among given choices. The keyword is ",paraId:2,tocIndex:0},{value:"select",paraId:2,tocIndex:0},{value:".",paraId:2,tocIndex:0},{value:"Common props ref\uFF1A",paraId:3,tocIndex:13},{value:"Common props",paraId:4,tocIndex:13},{value:"Property",paraId:5,tocIndex:13},{value:"Description",paraId:5,tocIndex:13},{value:"Type",paraId:5,tocIndex:13},{value:"Default",paraId:5,tocIndex:13},{value:"Version",paraId:5,tocIndex:13},{value:"allowClear",paraId:5,tocIndex:13},{value:"Show clear button",paraId:5,tocIndex:13},{value:"boolean | { clearIcon?: ReactNode }",paraId:5,tocIndex:13},{value:"false",paraId:5,tocIndex:13},{value:"5.8.0: Support Object type",paraId:5,tocIndex:13},{value:"autoFocus",paraId:5,tocIndex:13},{value:"If get focus when component mounted",paraId:5,tocIndex:13},{value:"boolean",paraId:5,tocIndex:13},{value:"false",paraId:5,tocIndex:13},{value:"backfill",paraId:5,tocIndex:13},{value:"If backfill selected item the input when using keyboard",paraId:5,tocIndex:13},{value:"boolean",paraId:5,tocIndex:13},{value:"false",paraId:5,tocIndex:13},{value:"children (for customize input element)",paraId:5,tocIndex:13},{value:"Customize input element",paraId:5,tocIndex:13},{value:"HTMLInputElement | HTMLTextAreaElement | React.ReactElement<InputProps>",paraId:5,tocIndex:13},{value:"<Input />",paraId:5,tocIndex:13},{value:"children (for dataSource)",paraId:5,tocIndex:13},{value:"Data source to auto complete",paraId:5,tocIndex:13},{value:"React.ReactElement<OptionProps> | Array<React.ReactElement<OptionProps>>",paraId:5,tocIndex:13},{value:"-",paraId:5,tocIndex:13},{value:"defaultActiveFirstOption",paraId:5,tocIndex:13},{value:"Whether active first option by default",paraId:5,tocIndex:13},{value:"boolean",paraId:5,tocIndex:13},{value:"true",paraId:5,tocIndex:13},{value:"defaultOpen",paraId:5,tocIndex:13},{value:"Initial open state of dropdown",paraId:5,tocIndex:13},{value:"boolean",paraId:5,tocIndex:13},{value:"-",paraId:5,tocIndex:13},{value:"defaultValue",paraId:5,tocIndex:13},{value:"Initial selected option",paraId:5,tocIndex:13},{value:"string",paraId:5,tocIndex:13},{value:"-",paraId:5,tocIndex:13},{value:"disabled",paraId:5,tocIndex:13},{value:"Whether disabled select",paraId:5,tocIndex:13},{value:"boolean",paraId:5,tocIndex:13},{value:"false",paraId:5,tocIndex:13},{value:"dropdownRender",paraId:5,tocIndex:13},{value:"Customize dropdown content",paraId:5,tocIndex:13},{value:"(menus: ReactNode) => ReactNode",paraId:5,tocIndex:13},{value:"-",paraId:5,tocIndex:13},{value:"4.24.0",paraId:5,tocIndex:13},{value:"popupClassName",paraId:5,tocIndex:13},{value:"The className of dropdown menu",paraId:5,tocIndex:13},{value:"string",paraId:5,tocIndex:13},{value:"-",paraId:5,tocIndex:13},{value:"4.23.0",paraId:5,tocIndex:13},{value:"popupMatchSelectWidth",paraId:5,tocIndex:13},{value:"Determine whether the dropdown menu and the select input are the same width. Default set ",paraId:5,tocIndex:13},{value:"min-width",paraId:5,tocIndex:13},{value:" same as input. Will ignore when value less than select width. ",paraId:5,tocIndex:13},{value:"false",paraId:5,tocIndex:13},{value:" will disable virtual scroll",paraId:5,tocIndex:13},{value:"boolean | number",paraId:5,tocIndex:13},{value:"true",paraId:5,tocIndex:13},{value:"filterOption",paraId:5,tocIndex:13},{value:"If true, filter options by input, if function, filter options against it. The function will receive two arguments, ",paraId:5,tocIndex:13},{value:"inputValue",paraId:5,tocIndex:13},{value:" and ",paraId:5,tocIndex:13},{value:"option",paraId:5,tocIndex:13},{value:", if the function returns true, the option will be included in the filtered set; Otherwise, it will be excluded",paraId:5,tocIndex:13},{value:"boolean | function(inputValue, option)",paraId:5,tocIndex:13},{value:"true",paraId:5,tocIndex:13},{value:"getPopupContainer",paraId:5,tocIndex:13},{value:"Parent node of the dropdown. Default to body, if you encountered positioning problems during scroll, try changing to the scrollable area and position relative to it. ",paraId:5,tocIndex:13},{value:"Example",paraId:5,tocIndex:13},{value:"function(triggerNode)",paraId:5,tocIndex:13},{value:"() => document.body",paraId:5,tocIndex:13},{value:"notFoundContent",paraId:5,tocIndex:13},{value:"Specify content to show when no result matches",paraId:5,tocIndex:13},{value:"ReactNode",paraId:5,tocIndex:13},{value:"-",paraId:5,tocIndex:13},{value:"open",paraId:5,tocIndex:13},{value:"Controlled open state of dropdown",paraId:5,tocIndex:13},{value:"boolean",paraId:5,tocIndex:13},{value:"-",paraId:5,tocIndex:13},{value:"options",paraId:5,tocIndex:13},{value:"Select options. Will get better perf than jsx definition",paraId:5,tocIndex:13},{value:"{ label, value }[]",paraId:5,tocIndex:13},{value:"-",paraId:5,tocIndex:13},{value:"placeholder",paraId:5,tocIndex:13},{value:"The placeholder of input",paraId:5,tocIndex:13},{value:"string",paraId:5,tocIndex:13},{value:"-",paraId:5,tocIndex:13},{value:"status",paraId:5,tocIndex:13},{value:"Set validation status",paraId:5,tocIndex:13},{value:"'error' | 'warning'",paraId:5,tocIndex:13},{value:"-",paraId:5,tocIndex:13},{value:"4.19.0",paraId:5,tocIndex:13},{value:"value",paraId:5,tocIndex:13},{value:"Selected option",paraId:5,tocIndex:13},{value:"string",paraId:5,tocIndex:13},{value:"-",paraId:5,tocIndex:13},{value:"variant",paraId:5,tocIndex:13},{value:"Variants of input",paraId:5,tocIndex:13},{value:"outlined",paraId:5,tocIndex:13},{value:" | ",paraId:5,tocIndex:13},{value:"borderless",paraId:5,tocIndex:13},{value:" | ",paraId:5,tocIndex:13},{value:"filled",paraId:5,tocIndex:13},{value:"outlined",paraId:5,tocIndex:13},{value:"5.13.0",paraId:5,tocIndex:13},{value:"onBlur",paraId:5,tocIndex:13},{value:"Called when leaving the component",paraId:5,tocIndex:13},{value:"function()",paraId:5,tocIndex:13},{value:"-",paraId:5,tocIndex:13},{value:"onChange",paraId:5,tocIndex:13},{value:"Called when selecting an option or changing an input value",paraId:5,tocIndex:13},{value:"function(value)",paraId:5,tocIndex:13},{value:"-",paraId:5,tocIndex:13},{value:"onDropdownVisibleChange",paraId:5,tocIndex:13},{value:"Call when dropdown open",paraId:5,tocIndex:13},{value:"function(open)",paraId:5,tocIndex:13},{value:"-",paraId:5,tocIndex:13},{value:"onFocus",paraId:5,tocIndex:13},{value:"Called when entering the component",paraId:5,tocIndex:13},{value:"function()",paraId:5,tocIndex:13},{value:"-",paraId:5,tocIndex:13},{value:"onSearch",paraId:5,tocIndex:13},{value:"Called when searching items",paraId:5,tocIndex:13},{value:"function(value)",paraId:5,tocIndex:13},{value:"-",paraId:5,tocIndex:13},{value:"onSelect",paraId:5,tocIndex:13},{value:"Called when a option is selected. param is option's value and option instance",paraId:5,tocIndex:13},{value:"function(value, option)",paraId:5,tocIndex:13},{value:"-",paraId:5,tocIndex:13},{value:"onClear",paraId:5,tocIndex:13},{value:"Called when clear",paraId:5,tocIndex:13},{value:"function",paraId:5,tocIndex:13},{value:"-",paraId:5,tocIndex:13},{value:"4.6.0",paraId:5,tocIndex:13},{value:"Name",paraId:6,tocIndex:14},{value:"Description",paraId:6,tocIndex:14},{value:"Version",paraId:6,tocIndex:14},{value:"blur()",paraId:6,tocIndex:14},{value:"Remove focus",paraId:6,tocIndex:14},{value:"focus()",paraId:6,tocIndex:14},{value:"Get focus",paraId:6,tocIndex:14},{value:"Please use ",paraId:7,tocIndex:17},{value:"onChange",paraId:7,tocIndex:17},{value:" to manage control state. ",paraId:7,tocIndex:17},{value:"onSearch",paraId:7,tocIndex:17},{value:" is used for searching input which is not the same as ",paraId:7,tocIndex:17},{value:"onChange",paraId:7,tocIndex:17},{value:". Besides, clicking on the option will not trigger the ",paraId:7,tocIndex:17},{value:"onSearch",paraId:7,tocIndex:17},{value:" event.",paraId:7,tocIndex:17},{value:"Related issue: ",paraId:8,tocIndex:17},{value:"#18230",paraId:8,tocIndex:17},{value:" ",paraId:8,tocIndex:17},{value:"#17916",paraId:8,tocIndex:17},{value:"The AutoComplete component is essentially an extension of the Input form element. When the ",paraId:9,tocIndex:18},{value:"options",paraId:9,tocIndex:18},{value:" property is empty, displaying empty text could mislead the user into believing the component is not operational, when in fact they are still able to input text. To avoid confusion, the ",paraId:9,tocIndex:18},{value:"open",paraId:9,tocIndex:18},{value:" property will not display the drop-down menu when set to ",paraId:9,tocIndex:18},{value:"true",paraId:9,tocIndex:18},{value:" and in combination with an empty ",paraId:9,tocIndex:18},{value:"options",paraId:9,tocIndex:18},{value:" property. The ",paraId:9,tocIndex:18},{value:"open",paraId:9,tocIndex:18},{value:" property must be used in conjunction with the ",paraId:9,tocIndex:18},{value:"options",paraId:9,tocIndex:18},{value:" property.",paraId:9,tocIndex:18}];}}]);