{"componentChunkName":"component---src-templates-post-template-js","path":"/en-US/input/select","result":{"data":{"current":{"frontmatter":{"title":"Select","order":46,"brief":"The user can select one or more options from a set of options through the Select selector and present the final selection result","icon":"doc-select"},"fields":{"type":"input"},"tableOfContents":{"items":[{"url":"#demos","title":"Demos","items":[{"url":"#how-to-import","title":"How to import"},{"url":"#basic-usage","title":"Basic Usage"},{"url":"#pass-option-as-an-array","title":"Pass Option as an array"},{"url":"#multi-choice","title":"Multi-choice"},{"url":"#with-group","title":"With Group"},{"url":"#different-sizes","title":"Different sizes"},{"url":"#different-validate-status","title":"Different validate status"},{"url":"#configure-prefix-suffix-clear-button","title":"Configure Prefix, Suffix, Clear Button"},{"url":"#additional-items","title":"Additional items"},{"url":"#controlled-component","title":"Controlled component"},{"url":"#linkage-select","title":"Linkage Select"},{"url":"#search","title":"Search"},{"url":"#search-position","title":"Search position"},{"url":"#remote-search","title":"Remote search"},{"url":"#custom-search-strategy","title":"Custom search strategy"},{"url":"#custom-selection-rendering","title":"Custom selection rendering"},{"url":"#custom-pop-up-layer-style","title":"Custom pop-up layer style"},{"url":"#dynamic-modification-options","title":"Dynamic Modification Options"},{"url":"#get-all-attribute-of-selected-option","title":"Get all attribute of selected option"},{"url":"#create-entries","title":"Create entries"},{"url":"#virtualize","title":"Virtualize"},{"url":"#custom-trigger","title":"Custom Trigger"},{"url":"#custom-option-render","title":"Custom Option Render"}]},{"url":"#api-reference","title":"API reference","items":[{"url":"#select-props","title":"Select Props"},{"url":"#option-props","title":"Option Props"},{"url":"#optgroup-props","title":"OptGroup Props"}]},{"url":"#methods","title":"Methods"},{"url":"#accessibility","title":"Accessibility","items":[{"url":"#aria","title":"ARIA"},{"url":"#keyboard-and-focus","title":"Keyboard and Focus"}]},{"url":"#content-guidelines","title":"Content Guidelines"},{"url":"#design-tokens","title":"Design Tokens"},{"url":"#related-material","title":"Related Material"},{"url":"#typescript-generic-support","title":"TypeScript Generic Support"},{"url":"#faq","title":"FAQ"}]},"body":"var _excluded = [\"components\"];\nfunction _extends() { return _extends = Object.assign ? Object.assign.bind() : function (n) { for (var e = 1; e < arguments.length; e++) { var t = arguments[e]; for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]); } return n; }, _extends.apply(null, arguments); }\nfunction _objectWithoutProperties(e, t) { if (null == e) return {}; var o, r, i = _objectWithoutPropertiesLoose(e, t); if (Object.getOwnPropertySymbols) { var s = Object.getOwnPropertySymbols(e); for (r = 0; r < s.length; r++) o = s[r], t.includes(o) || {}.propertyIsEnumerable.call(e, o) && (i[o] = e[o]); } return i; }\nfunction _objectWithoutPropertiesLoose(r, e) { if (null == r) return {}; var t = {}; for (var n in r) if ({}.hasOwnProperty.call(r, n)) { if (e.includes(n)) continue; t[n] = r[n]; } return t; }\n/* @jsxRuntime classic */\n/* @jsx mdx */\n\nvar _frontmatter = {\n  \"localeCode\": \"en-US\",\n  \"order\": 46,\n  \"category\": \"Input\",\n  \"title\": \"Select\",\n  \"subTitle\": \"Select\",\n  \"icon\": \"doc-select\",\n  \"width\": \"60%\",\n  \"brief\": \"The user can select one or more options from a set of options through the Select selector and present the final selection result\"\n};\nvar makeShortcode = function makeShortcode(name) {\n  return function MDXDefaultShortcode(props) {\n    console.warn(\"Component \" + name + \" was not imported, exported, or provided by MDXProvider as global scope\");\n    return mdx(\"div\", props);\n  };\n};\nvar Notice = makeShortcode(\"Notice\");\nvar DesignToken = makeShortcode(\"DesignToken\");\nvar layoutProps = {\n  _frontmatter: _frontmatter\n};\nvar MDXLayout = \"wrapper\";\nreturn function MDXContent(_ref) {\n  var components = _ref.components,\n    props = _objectWithoutProperties(_ref, _excluded);\n  return mdx(MDXLayout, _extends({}, layoutProps, props, {\n    components: components,\n    mdxType: \"MDXLayout\"\n  }), mdx(\"section\", null, mdx(\"h2\", {\n    parentName: \"section\"\n  }, \"Demos\"), mdx(\"h3\", {\n    parentName: \"section\"\n  }, \"How to import\"), mdx(\"pre\", {\n    parentName: \"section\"\n  }, mdx(\"code\", {\n    parentName: \"pre\",\n    \"className\": \"language-jsx\",\n    \"metastring\": \"import\",\n    \"import\": true\n  }, \"import { Select } from '@douyinfe/semi-ui';\\nconst Option = Select.Option;\\n\")), mdx(\"h3\", {\n    parentName: \"section\"\n  }, \"Basic Usage\"), mdx(\"p\", {\n    parentName: \"section\"\n  }, \"Each Option tag must declare the \", mdx(\"inlineCode\", {\n    parentName: \"p\"\n  }, \"value\"), \" attribute, and the Option \", mdx(\"inlineCode\", {\n    parentName: \"p\"\n  }, \"children\"), \" content will be rendered to the drop-down list\"), mdx(\"pre\", {\n    parentName: \"section\"\n  }, mdx(\"code\", {\n    parentName: \"pre\",\n    \"className\": \"language-jsx\",\n    \"metastring\": \"live=true\",\n    \"live\": \"true\"\n  }, \"import React from 'react';\\nimport { Select } from '@douyinfe/semi-ui';\\n\\n() => (\\n    <>\\n        <Select defaultValue=\\\"douyin\\\" style={{ width: 120 }}>\\n            <Select.Option value=\\\"douyin\\\">Douyin</Select.Option>\\n            <Select.Option value=\\\"capcut\\\">Capcut</Select.Option>\\n        </Select>\\n        <br />\\n        <br />\\n        <Select placeholder=\\\"Select line of business\\\" style={{ width: 120 }}>\\n            <Select.Option value=\\\"douyin\\\">Douyin</Select.Option>\\n            <Select.Option value=\\\"capcut\\\">Capcut</Select.Option>\\n        </Select>\\n    </>\\n);\\n\")), mdx(\"h3\", {\n    parentName: \"section\"\n  }, \"Pass Option as an array\"), mdx(\"p\", {\n    parentName: \"section\"\n  }, \"You can pass an array of objects directly through \", mdx(\"inlineCode\", {\n    parentName: \"p\"\n  }, \"optionList\"), \". Each object must contain the value / label attribute.\"), mdx(\"pre\", {\n    parentName: \"section\"\n  }, mdx(\"code\", {\n    parentName: \"pre\",\n    \"className\": \"language-jsx\",\n    \"metastring\": \"live=true\",\n    \"live\": \"true\"\n  }, \"import React from 'react';\\nimport { Select } from '@douyinfe/semi-ui';\\n\\n() => {\\n    const list = [\\n        { value: 'douyin', label: 'Douyin' },\\n        { value: 'capcut', label: 'Capcut' },\\n        { value: 'coze', label: 'Coze' },\\n        { value: 'toutiao', label: 'TooBuzz' },\\n    ];\\n    return <Select placeholder=\\\"Business line\\\" style={{ width: 180 }} optionList={list}></Select>;\\n};\\n\")), mdx(\"h3\", {\n    parentName: \"section\"\n  }, \"Multi-choice\"), mdx(\"p\", {\n    parentName: \"section\"\n  }, \"Since v2.28, the selector will have its own maxHeight 270, and the content can be viewed by scrolling vertically after it exceeds.\"), mdx(\"p\", {\n    parentName: \"section\"\n  }, \"Configuration \", mdx(\"inlineCode\", {\n    parentName: \"p\"\n  }, \"multiple\"), \" properties that can support multi-selection\"), mdx(\"p\", {\n    parentName: \"section\"\n  }, \"Configuration \", mdx(\"inlineCode\", {\n    parentName: \"p\"\n  }, \"maxTagCount\"), \". You can limit the number of options displayed, and the excess will be displayed in the form of + N\"), mdx(\"p\", {\n    parentName: \"section\"\n  }, \"Configure \", mdx(\"inlineCode\", {\n    parentName: \"p\"\n  }, \"ellipsisTrigger\"), \" (>= v2.28.0) to do adaptive processing on the overflow part of the tag. When the width is insufficient, the last tag content will be truncated. After enabling this function, there will be a certain performance loss, and it is not recommended to use it in large form scenarios\"), mdx(\"p\", {\n    parentName: \"section\"\n  }, \"Configure \", mdx(\"inlineCode\", {\n    parentName: \"p\"\n  }, \"expandRestTagsOnClick\"), \" (>= v2.28.0) to display all remaining tags by clicking when \", mdx(\"inlineCode\", {\n    parentName: \"p\"\n  }, \"maxTagCount\"), \" is set\"), mdx(\"p\", {\n    parentName: \"section\"\n  }, \"Use \", mdx(\"inlineCode\", {\n    parentName: \"p\"\n  }, \"showRestTagsPopover\"), \" (>= v2.22.0) to set whether hover +N displays Popover after exceeding \", mdx(\"inlineCode\", {\n    parentName: \"p\"\n  }, \"maxTagCount\"), \", the default is \", mdx(\"inlineCode\", {\n    parentName: \"p\"\n  }, \"false\"), \". Also, popovers can be configured in the \", mdx(\"inlineCode\", {\n    parentName: \"p\"\n  }, \"restTagsPopoverProps\"), \" property\"), mdx(\"p\", {\n    parentName: \"section\"\n  }, \"Configuration \", mdx(\"inlineCode\", {\n    parentName: \"p\"\n  }, \"max\"), \" Properties can limit the maximum number of options and cannot be selected beyond the maximum limit, while triggering\", mdx(\"inlineCode\", {\n    parentName: \"p\"\n  }, \"On Exceed\"), \"callback\"), mdx(\"pre\", {\n    parentName: \"section\"\n  }, mdx(\"code\", {\n    parentName: \"pre\",\n    \"className\": \"language-jsx\",\n    \"metastring\": \"live=true\",\n    \"live\": \"true\"\n  }, \"import React from 'react';\\nimport { Select } from '@douyinfe/semi-ui';\\n\\n() => (\\n    <>\\n        <Select multiple style={{ width: '320px' }} defaultValue={['douyin', 'coze']}>\\n            <Select.Option value=\\\"douyin\\\">Douyin</Select.Option>\\n            <Select.Option value=\\\"coze\\\">Coze</Select.Option>\\n            <Select.Option value=\\\"capcut\\\">Capcut</Select.Option>\\n            <Select.Option value=\\\"xigua\\\">BuzzVideo</Select.Option>\\n        </Select>\\n        <br />\\n        <br />\\n        <Select\\n            multiple\\n            maxTagCount={2}\\n            showRestTagsPopover={true}\\n            restTagsPopoverProps={{ position: 'top' }}\\n            style={{ width: '320px' }}\\n            defaultValue={['douyin', 'coze', 'capcut']}\\n        >\\n            <Select.Option value=\\\"douyin\\\">Semi</Select.Option>\\n            <Select.Option value=\\\"coze\\\">Coze</Select.Option>\\n            <Select.Option value=\\\"capcut\\\">Capcut</Select.Option>\\n            <Select.Option value=\\\"xigua\\\">BuzzVideo</Select.Option>\\n        </Select>\\n\\n        <br />\\n        <br />\\n        <Select\\n            multiple\\n            style={{ width: '320px' }}\\n            defaultValue={['douyin']}\\n            max={2}\\n            onExceed={() => Toast.warning('Only two options are allowed')}\\n        >\\n            <Select.Option value=\\\"douyin\\\">Semi</Select.Option>\\n            <Select.Option value=\\\"coze\\\">Coze</Select.Option>\\n            <Select.Option value=\\\"capcut\\\">Capcut</Select.Option>\\n            <Select.Option value=\\\"xigua\\\">BuzzVideo</Select.Option>\\n        </Select>\\n        <br />\\n        <br />\\n        <Select\\n            multiple\\n            maxTagCount={2}\\n            showRestTagsPopover={true}\\n            restTagsPopoverProps={{ position: 'top' }}\\n            style={{ width: '220px' }}\\n            defaultValue={['xigua', 'coze', 'capcut', 'douyin']}\\n            ellipsisTrigger\\n            expandRestTagsOnClick\\n        >\\n            <Select.Option value=\\\"douyin\\\">Semi</Select.Option>\\n            <Select.Option value=\\\"coze\\\">Coze</Select.Option>\\n            <Select.Option value=\\\"capcut\\\">Capcut</Select.Option>\\n            <Select.Option value=\\\"xigua\\\">BuzzVideo</Select.Option>\\n        </Select>\\n    </>\\n);\\n\")), mdx(\"h3\", {\n    parentName: \"section\"\n  }, \"With Group\"), mdx(\"p\", {\n    parentName: \"section\"\n  }, \"Grouping Option with \", mdx(\"inlineCode\", {\n    parentName: \"p\"\n  }, \"OptGroup\"), \"(Only supports the declaration of children through jsx, and does not support pass in through optionList)\"), mdx(\"pre\", {\n    parentName: \"section\"\n  }, mdx(\"code\", {\n    parentName: \"pre\",\n    \"className\": \"language-jsx\",\n    \"metastring\": \"live=true\",\n    \"live\": \"true\"\n  }, \"import React from 'react';\\nimport { Select } from '@douyinfe/semi-ui';\\n\\n() => (\\n    <Select placeholder=\\\"\\\" style={{ width: 180 }} filter>\\n        <Select.OptGroup label=\\\"Asia\\\">\\n            <Select.Option value=\\\"a-1\\\">China</Select.Option>\\n            <Select.Option value=\\\"a-2\\\">Korea</Select.Option>\\n        </Select.OptGroup>\\n        <Select.OptGroup label=\\\"Europe\\\">\\n            <Select.Option value=\\\"b-1\\\">Germany</Select.Option>\\n            <Select.Option value=\\\"b-2\\\">France</Select.Option>\\n        </Select.OptGroup>\\n        <Select.OptGroup label=\\\"South America\\\">\\n            <Select.Option value=\\\"c-1\\\">Peru</Select.Option>\\n        </Select.OptGroup>\\n    </Select>\\n);\\n\")), mdx(\"pre\", {\n    parentName: \"section\"\n  }, mdx(\"code\", {\n    parentName: \"pre\",\n    \"className\": \"language-jsx\",\n    \"metastring\": \"live=true\",\n    \"live\": \"true\"\n  }, \"import React from 'react';\\nimport { Select } from '@douyinfe/semi-ui';\\n\\n() => {\\n    const data = [\\n        {\\n            label: 'Asia',\\n            children: [\\n                { value: 'a-1', label: 'China' },\\n                { value: 'a-2', label: 'Korea' },\\n            ],\\n        },\\n        {\\n            label: 'Europe',\\n            children: [\\n                { value: 'b-1', label: 'Germany' },\\n                { value: 'b-2', label: 'France' },\\n            ],\\n        },\\n        {\\n            label: 'South America',\\n            children: [{ value: 'c-1', label: 'Peru' }],\\n        },\\n    ];\\n    return (\\n        <Select placeholder=\\\"\\\" style={{ width: 180 }} filter>\\n            {data.map((group, index) => (\\n                <Select.OptGroup label={group.label} key={`${index}-${group.label}`}>\\n                    {group.children.map((option, index2) => (\\n                        <Select.Option value={option.value} key={`${index2}-${group.label}`}>\\n                            {option.label}\\n                        </Select.Option>\\n                    ))}\\n                </Select.OptGroup>\\n            ))}\\n        </Select>\\n    );\\n};\\n\")), mdx(\"h3\", {\n    parentName: \"section\"\n  }, \"Different sizes\"), mdx(\"p\", {\n    parentName: \"section\"\n  }, \"Size: small / default / large\"), mdx(\"pre\", {\n    parentName: \"section\"\n  }, mdx(\"code\", {\n    parentName: \"pre\",\n    \"className\": \"language-jsx\",\n    \"metastring\": \"live=true\",\n    \"live\": \"true\"\n  }, \"import React from 'react';\\nimport { Select } from '@douyinfe/semi-ui';\\n\\n() => (\\n    <>\\n        <Select placeholder=\\\"Business line\\\" style={{ width: '200px' }} size=\\\"small\\\">\\n            <Select.Option value=\\\"douyin\\\">Douyin</Select.Option>\\n        </Select>\\n        <br />\\n        <br />\\n        <Select placeholder=\\\"Business line\\\" style={{ width: '200px' }}>\\n            <Select.Option value=\\\"douyin\\\">Douyin</Select.Option>\\n        </Select>\\n        <br />\\n        <br />\\n        <Select placeholder=\\\"Business line\\\" style={{ width: '200px' }} size=\\\"large\\\">\\n            <Select.Option value=\\\"douyin\\\">Douyin</Select.Option>\\n        </Select>\\n    </>\\n);\\n\")), mdx(\"h3\", {\n    parentName: \"section\"\n  }, \"Different validate status\"), mdx(\"p\", {\n    parentName: \"section\"\n  }, \"validateStatus: default / warning / error\"), mdx(\"pre\", {\n    parentName: \"section\"\n  }, mdx(\"code\", {\n    parentName: \"pre\",\n    \"className\": \"language-jsx\",\n    \"metastring\": \"live=true\",\n    \"live\": \"true\"\n  }, \"import React from 'react';\\nimport { Select } from '@douyinfe/semi-ui';\\n\\n() => (\\n    <>\\n        <Select style={{ width: '180px' }} defaultValue='Capcut'>\\n            <Select.Option value=\\\"Capcut\\\">Capcut</Select.Option>\\n        </Select>\\n        <br />\\n        <br />\\n        <Select style={{ width: '180px' }} validateStatus=\\\"warning\\\" defaultValue='Capcut'>\\n            <Select.Option value=\\\"Capcut\\\">Capcut</Select.Option>\\n        </Select>\\n        <br />\\n        <br />\\n        <Select style={{ width: '180px' }} validateStatus=\\\"error\\\" defaultValue='Capcut'>\\n            <Select.Option value=\\\"Capcut\\\">Capcut</Select.Option>\\n        </Select>\\n    </>\\n);\\n\")), mdx(\"h3\", {\n    parentName: \"section\"\n  }, \"Configure Prefix, Suffix, Clear Button\"), mdx(\"ul\", {\n    parentName: \"section\"\n  }, mdx(\"li\", {\n    parentName: \"ul\"\n  }, \"You can pass the selection box prefix through \", mdx(\"inlineCode\", {\n    parentName: \"li\"\n  }, \"prefix\"), \", the selection box suffix through \", mdx(\"inlineCode\", {\n    parentName: \"li\"\n  }, \"suffix\"), \", for text or React Node\", mdx(\"br\", {\n    parentName: \"li\"\n  }), \"The left and right padding is automatically brought when the content passed in by prefix and reactix is text or Icon. If it is a custom ReactNode, the left and right padding is 0.\"), mdx(\"li\", {\n    parentName: \"ul\"\n  }, \"Whether to show the clear button is displayed by \", mdx(\"inlineCode\", {\n    parentName: \"li\"\n  }, \"showClear\")), mdx(\"li\", {\n    parentName: \"ul\"\n  }, \"Whether to show the right drop-down arrow is displayed by \", mdx(\"inlineCode\", {\n    parentName: \"li\"\n  }, \"showArrow\"))), mdx(\"pre\", {\n    parentName: \"section\"\n  }, mdx(\"code\", {\n    parentName: \"pre\",\n    \"className\": \"language-jsx\",\n    \"metastring\": \"live=true\",\n    \"live\": \"true\"\n  }, \"import React from 'react';\\nimport { Select } from '@douyinfe/semi-ui';\\nimport { IconVigoLogo, IconGift } from '@douyinfe/semi-icons';\\n\\n() => (\\n    <>\\n        <Select style={{ width: '320px' }} defaultValue={'douyin'} prefix={<IconVigoLogo />} showClear={true}>\\n            <Select.Option value=\\\"douyin\\\">Douyin</Select.Option>\\n            <Select.Option value=\\\"capcut\\\">Capcut</Select.Option>\\n            <Select.Option value=\\\"coze\\\">Coze</Select.Option>\\n            <Select.Option value=\\\"xigua\\\">BuzzVideo</Select.Option>\\n        </Select>\\n        <br />\\n        <br />\\n        <Select\\n            style={{ width: '320px' }}\\n            defaultValue={'capcut'}\\n            prefix={<IconVigoLogo />}\\n            suffix={<IconGift />}\\n            showArrow={false}\\n        >\\n            <Select.Option value=\\\"douyin\\\">Douyin</Select.Option>\\n            <Select.Option value=\\\"capcut\\\">Capcut</Select.Option>\\n            <Select.Option value=\\\"coze\\\">Coze</Select.Option>\\n            <Select.Option value=\\\"xigua\\\">BuzzVideo</Select.Option>\\n        </Select>\\n    </>\\n);\\n\")), mdx(\"h3\", {\n    parentName: \"section\"\n  }, \"Additional items\"), mdx(\"p\", {\n    parentName: \"section\"\n  }, \"We have reserved two slots at the bottom of the pop-up layer, which you can use when you need to add a custom node to the pop-up layer.\", mdx(\"br\", {\n    parentName: \"p\"\n  }), \"\\n\", \"Use\", mdx(\"inlineCode\", {\n    parentName: \"p\"\n  }, \"innerTopSlot\"), \" or \", mdx(\"inlineCode\", {\n    parentName: \"p\"\n  }, \"outerTopSlot\"), \" to pass the custom node, which will be rendered at the top of the pop-up layer. Use\", mdx(\"inlineCode\", {\n    parentName: \"p\"\n  }, \"innerBottomSlot\"), \" or \", mdx(\"inlineCode\", {\n    parentName: \"p\"\n  }, \"outerBottomSlot\"), \" instead at the bottom.\"), mdx(\"ul\", {\n    parentName: \"section\"\n  }, mdx(\"li\", {\n    parentName: \"ul\"\n  }, mdx(\"p\", {\n    parentName: \"li\"\n  }, mdx(\"inlineCode\", {\n    parentName: \"p\"\n  }, \"innerTopSlot\"), \" and \", mdx(\"inlineCode\", {\n    parentName: \"p\"\n  }, \"innerBottomSlot\"), \" will be rendered inside the Option List\")), mdx(\"li\", {\n    parentName: \"ul\"\n  }, mdx(\"p\", {\n    parentName: \"li\"\n  }, mdx(\"inlineCode\", {\n    parentName: \"p\"\n  }, \"outerTopSlot\"), \" and \", mdx(\"inlineCode\", {\n    parentName: \"p\"\n  }, \"outerBottomSlot\"), \" will be rendered to level with the option List\"))), mdx(\"pre\", {\n    parentName: \"section\"\n  }, mdx(\"code\", {\n    parentName: \"pre\",\n    \"className\": \"language-jsx\",\n    \"metastring\": \"live=true\",\n    \"live\": \"true\"\n  }, \"import React from 'react';\\nimport { Select } from '@douyinfe/semi-ui';\\nimport { IconClock } from '@douyinfe/semi-icons';\\n\\n() => {\\n    let selectStyle = { width: 180, margin: 20 };\\n    let innerSlotStyle = {\\n        backgroundColor: '#FFF',\\n        height: '40px',\\n        color: '#0077FA',\\n        display: 'flex',\\n        justifyContent: 'center',\\n        alignItems: 'center',\\n        cursor: 'pointer',\\n    };\\n    let innerSlotNode = <div style={innerSlotStyle}>No suitable product?</div>;\\n    let outSlotStyle = {\\n        backgroundColor: 'whitesmoke',\\n        height: '29px',\\n        display: 'flex',\\n        justifyContent: 'center',\\n        alignItems: 'center',\\n        cursor: 'pointer',\\n    };\\n    let outSlotNode = (\\n        <div style={outSlotStyle}>\\n            <IconClock></IconClock>\\n            <span style={{ color: 'rgba(28, 31, 35, 0.55)' }}>More recently viewed pages</span>\\n        </div>\\n    );\\n\\n    return (\\n        <div>\\n            <p>outerBottomSlot:</p>\\n            <Select\\n                style={selectStyle}\\n                dropdownStyle={{ width: 180 }}\\n                maxHeight={213}\\n                defaultOpen\\n                autoAdjustOverflow={false}\\n                position=\\\"bottom\\\"\\n                outerBottomSlot={outSlotNode}\\n            >\\n                <Select.Option value=\\\"douyin\\\">Douyin</Select.Option>\\n                <Select.Option value=\\\"capcut\\\">Capcut</Select.Option>\\n                <Select.Option value=\\\"coze\\\">Coze</Select.Option>\\n                <Select.Option value=\\\"xigua\\\">BuzzVideo</Select.Option>\\n            </Select>\\n            <p>innerBottomSlot:</p>\\n            <Select style={selectStyle} dropdownStyle={{ width: 180 }} innerBottomSlot={innerSlotNode} >\\n                <Select.Option value=\\\"douyin\\\">Douyin</Select.Option>\\n                <Select.Option value=\\\"capcut\\\">Capcut</Select.Option>\\n                <Select.Option value=\\\"coze\\\">Coze</Select.Option>\\n                <Select.Option value=\\\"xigua\\\">BuzzVideo</Select.Option>\\n            </Select>\\n        </div>\\n    );\\n};\\n\")), mdx(\"p\", {\n    parentName: \"section\"\n  }, \"Using outerTopSlot to insert content\"), mdx(\"pre\", {\n    parentName: \"section\"\n  }, mdx(\"code\", {\n    parentName: \"pre\",\n    \"className\": \"language-jsx\",\n    \"metastring\": \"live=true\",\n    \"live\": \"true\"\n  }, \"import React from 'react';\\nimport { Select } from '@douyinfe/semi-ui';\\n\\n() => {\\n    const list = {\\n        component: [\\n            { value: 'select', label: 'Select' },\\n            { value: 'tabs', label: 'Tabs' },\\n            { value: 'avatar', label: 'Avatar' },\\n            { value: 'button', label: 'Button' },\\n        ],\\n        design: [\\n            { value: 'color', label: 'Color' },\\n            { value: 'dark', label: 'Dark Mode' },\\n            { value: 'icon', label: 'Icon' },\\n            { value: 'font', label: 'Topography' },\\n        ],\\n        feedback: [\\n            { value: 'faq', label: 'FAQ' },\\n            { value: 'join', label: 'Join Chat Group' },\\n            { value: 'hornbill', label: 'Hornbill' },\\n        ],\\n    };\\n\\n    const [key, setKey] = useState('component');\\n    const [value, setValue] = useState({ value: 'faq', label: 'FAQ' });\\n    const handleTabClick = itemKey => {\\n        setKey(itemKey);\\n    };\\n\\n    const tabStyle = {\\n        cursor: 'pointer',\\n        marginRight: 12,\\n        paddingBottom: 4,\\n    };\\n    const tabActiveStyle = {\\n        ...tabStyle,\\n        borderBottom: '1px solid var(--semi-color-primary)',\\n        fontWeight: 700,\\n    };\\n    const tabWrapper = {\\n        display: 'flex',\\n        paddingTop: 8,\\n        paddingLeft: 32,\\n        paddingRight: 32,\\n        borderBottom: '0.5px solid var(--semi-color-border)',\\n    };\\n    const tabOptions = [\\n        { itemKey: 'component', label: 'Compoonent' },\\n        { itemKey: 'design', label: 'Design' },\\n        { itemKey: 'feedback', label: 'Feedback' },\\n    ];\\n\\n    const outerTopSlotNode = (\\n        <div style={tabWrapper}>\\n            {tabOptions.map((item, index) => {\\n                style = item.itemKey === key ? tabActiveStyle : tabStyle;\\n                return (\\n                    <div style={style} key={item.itemKey} onClick={() => handleTabClick(item.itemKey)}>\\n                        {item.label}\\n                    </div>\\n                );\\n            })}\\n        </div>\\n    );\\n    return (\\n        <Select\\n            defaultOpen\\n            autoAdjustOverflow={false}\\n            value={value}\\n            onChangeWithObject\\n            onChange={obj => setValue(obj)}\\n            style={{ width: 200 }}\\n            outerTopSlot={outerTopSlotNode}\\n            optionList={list[key]}\\n        />\\n    );\\n};\\n\")), mdx(\"h3\", {\n    parentName: \"section\"\n  }, \"Controlled component\"), mdx(\"p\", {\n    parentName: \"section\"\n  }, \"When \", mdx(\"inlineCode\", {\n    parentName: \"p\"\n  }, \"value\"), \" is passed, Select is a controlled component, and the value selected is entirely determined by \", mdx(\"inlineCode\", {\n    parentName: \"p\"\n  }, \"value\"), \".\"), mdx(\"pre\", {\n    parentName: \"section\"\n  }, mdx(\"code\", {\n    parentName: \"pre\",\n    \"className\": \"language-jsx\",\n    \"metastring\": \"live=true\",\n    \"live\": \"true\"\n  }, \"import React from 'react';\\nimport { Select } from '@douyinfe/semi-ui';\\n\\n() => {\\n    let [value, setValue] = useState('xigua');\\n    return (\\n        <>\\n            <Select value={value} style={{ width: '300px' }} onChange={setValue} placeholder=\\\"Controlled Component\\\">\\n                <Select.Option value=\\\"douyin\\\">Douyin</Select.Option>\\n                <Select.Option value=\\\"capcut\\\">Capcut</Select.Option>\\n                <Select.Option value=\\\"xigua\\\">BuzzVideo</Select.Option>\\n            </Select>\\n        </>\\n    );\\n};\\n\")), mdx(\"h3\", {\n    parentName: \"section\"\n  }, \"Linkage Select\"), mdx(\"p\", {\n    parentName: \"section\"\n  }, \"If it is a complex linkage with a hierarchical relationship, it is recommended to use Cascader components directly\"), mdx(\"pre\", {\n    parentName: \"section\"\n  }, mdx(\"code\", {\n    parentName: \"pre\",\n    \"className\": \"language-jsx\",\n    \"metastring\": \"live=true\",\n    \"live\": \"true\"\n  }, \"import React, { useState } from 'react';\\nimport { Select } from '@douyinfe/semi-ui';\\n\\n() => {\\n    const continents = ['Asia', 'Europe'];\\n    const maps = {\\n        Asia: ['China', 'Korea'],\\n        Europe: ['United Kingdom', 'France', 'Germany'],\\n    };\\n\\n    const [continent, setContinent] = useState(continents[0]);\\n    const countrys = maps[continent];\\n    const [country, setCountry] = useState(countrys[0]);\\n\\n    const continentsChange = newContinent => {\\n        setContinent(newContinent);\\n        setCountry(maps[newContinent][0]);\\n    };\\n    const countryChange = newCountry => setCountry(newCountry);\\n\\n    return (\\n        <>\\n            <Select style={{ width: '150px', margin: '10px' }} onChange={continentsChange} value={continent}>\\n                {continents.map(c => (\\n                    <Select.Option value={c} key={c}>\\n                        {c}\\n                    </Select.Option>\\n                ))}\\n            </Select>\\n            <Select style={{ width: '150px', margin: '10px' }} value={country} onChange={countryChange}>\\n                {countrys.map(c => (\\n                    <Select.Option value={c} key={c}>\\n                        {c}\\n                    </Select.Option>\\n                ))}\\n            </Select>\\n        </>\\n    );\\n};\\n\")), mdx(\"h3\", {\n    parentName: \"section\"\n  }, \"Search\"), mdx(\"p\", {\n    parentName: \"section\"\n  }, \"You can turn on the search capability by setting \", mdx(\"inlineCode\", {\n    parentName: \"p\"\n  }, \"filter\"), \" to true.\", mdx(\"br\", {\n    parentName: \"p\"\n  }), \"\\n\", \"The default search strategy will include comparison of the input value with the label value of option\"), mdx(\"p\", {\n    parentName: \"section\"\n  }, \"By default, the search keywords will be cleared automatically after multiple selection is selected. If you want to keep it, you can turn off the default behavior by setting \", mdx(\"inlineCode\", {\n    parentName: \"p\"\n  }, \"autoClearSearchValue\"), \" to false (provided after v2.3)\"), mdx(\"pre\", {\n    parentName: \"section\"\n  }, mdx(\"code\", {\n    parentName: \"pre\",\n    \"className\": \"language-jsx\",\n    \"metastring\": \"live=true\",\n    \"live\": \"true\"\n  }, \"import React from 'react';\\nimport { Select } from '@douyinfe/semi-ui';\\n\\n() => (\\n    <>\\n        <Select filter style={{ width: 180 }} placeholder=\\\"Searchable Select\\\">\\n            <Select.Option value=\\\"app1\\\">Douyin</Select.Option>\\n            <Select.Option value=\\\"app2\\\">Coze</Select.Option>\\n            <Select.Option value=\\\"app3\\\">Capcut</Select.Option>\\n            <Select.Option value=\\\"app4\\\">BuzzVideo</Select.Option>\\n        </Select>\\n        <br />\\n        <br />\\n        <Select\\n            filter\\n            multiple\\n            style={{ width: 350 }}\\n            placeholder=\\\"Searchable Multiple Select\\\"\\n            autoClearSearchValue={false}\\n        >\\n            <Select.Option value=\\\"semi-0\\\">Semi-0</Select.Option>\\n            <Select.Option value=\\\"semi-1\\\">Semi-1</Select.Option>\\n            <Select.Option value=\\\"semi-2\\\">Semi-2</Select.Option>\\n            <Select.Option value=\\\"semi-3\\\">Semi-3</Select.Option>\\n            <Select.Option value=\\\"semi-4\\\">Semi-4</Select.Option>\\n        </Select>\\n    </>\\n);\\n\")), mdx(\"h3\", {\n    parentName: \"section\"\n  }, \"Search position\"), mdx(\"p\", {\n    parentName: \"section\"\n  }, \"The default search input is displayed on the Select Trigger. You can specify different positions through \", mdx(\"inlineCode\", {\n    parentName: \"p\"\n  }, \"searchPosition\"), \", and you can choose \", mdx(\"inlineCode\", {\n    parentName: \"p\"\n  }, \"dropdown\"), \" or \", mdx(\"inlineCode\", {\n    parentName: \"p\"\n  }, \"trigger\"), \". Available after \", mdx(\"inlineCode\", {\n    parentName: \"p\"\n  }, \"v2.61.0\"), mdx(\"br\", {\n    parentName: \"p\"\n  }), \"\\n\", \"If you want to customize the placeholder of the Input search box in the dropdown, you can control it through \", mdx(\"inlineCode\", {\n    parentName: \"p\"\n  }, \"searchPlaceholder\"), mdx(\"br\", {\n    parentName: \"p\"\n  }), \"\\n\", \"If the \", mdx(\"inlineCode\", {\n    parentName: \"p\"\n  }, \"searchPosition\"), \" is \", mdx(\"inlineCode\", {\n    parentName: \"p\"\n  }, \"trigger\"), \", when \", mdx(\"inlineCode\", {\n    parentName: \"p\"\n  }, \"showClear=true\"), \", clicking the clear button of the input will clear the selected items and the search text in the input at the same time\", mdx(\"br\", {\n    parentName: \"p\"\n  }), \"\\n\", \"If the \", mdx(\"inlineCode\", {\n    parentName: \"p\"\n  }, \"searchPosition\"), \" is \", mdx(\"inlineCode\", {\n    parentName: \"p\"\n  }, \"dropdown\"), \", when \", mdx(\"inlineCode\", {\n    parentName: \"p\"\n  }, \"showClear=true\"), \", clicking the clear button of the trigger will clear the selected items,  clicking the clear button in the dropdown input will clear search text  \"), mdx(\"pre\", {\n    parentName: \"section\"\n  }, mdx(\"code\", {\n    parentName: \"pre\",\n    \"className\": \"language-jsx\",\n    \"metastring\": \"live=true\",\n    \"live\": \"true\"\n  }, \"import React from 'react';\\nimport { Select } from '@douyinfe/semi-ui';\\n\\n() => (\\n    <>\\n        <Select\\n            filter\\n            searchPosition='dropdown'\\n            style={{ width: 200 }}\\n            defaultValue={'ulikecam'}\\n        >\\n            <Select.Option value=\\\"douyin\\\">Douyin</Select.Option>\\n            <Select.Option value=\\\"ulikecam\\\">UlikeCam</Select.Option>\\n            <Select.Option value=\\\"jianying\\\">Capcut</Select.Option>\\n            <Select.Option value=\\\"xigua\\\">XiguaVideo</Select.Option>\\n        </Select>\\n        <br />\\n        <br />\\n        <Select\\n            filter\\n            searchPosition='dropdown'\\n            multiple\\n            style={{ width: 300 }}\\n            defaultValue={['semi-1']}\\n            autoClearSearchValue={false}\\n        >\\n            <Select.Option value=\\\"semi-0\\\">Semi-0</Select.Option>\\n            <Select.Option value=\\\"semi-1\\\">Semi-1</Select.Option>\\n            <Select.Option value=\\\"semi-2\\\">Semi-2</Select.Option>\\n            <Select.Option value=\\\"semi-3\\\">Semi-3</Select.Option>\\n            <Select.Option value=\\\"semi-4\\\">Semi-4</Select.Option>\\n        </Select>\\n    </>\\n);\\n\\n\")), mdx(\"h3\", {\n    parentName: \"section\"\n  }, \"Remote search\"), mdx(\"p\", {\n    parentName: \"section\"\n  }, \"A multi-select example with remote search, request debounce, loading status.\"), mdx(\"ul\", {\n    parentName: \"section\"\n  }, mdx(\"li\", {\n    parentName: \"ul\"\n  }, \"Use \", mdx(\"inlineCode\", {\n    parentName: \"li\"\n  }, \"filter\"), \" turn on the search capability.\"), mdx(\"li\", {\n    parentName: \"ul\"\n  }, \"Use \", mdx(\"inlineCode\", {\n    parentName: \"li\"\n  }, \"remote\"), \" to disabled local filter\"), mdx(\"li\", {\n    parentName: \"ul\"\n  }, \"Dynamic Update \", mdx(\"inlineCode\", {\n    parentName: \"li\"\n  }, \"optionList\"), \" after \", mdx(\"inlineCode\", {\n    parentName: \"li\"\n  }, \"onSearch\"), \" callback\"), mdx(\"li\", {\n    parentName: \"ul\"\n  }, \"Update \", mdx(\"inlineCode\", {\n    parentName: \"li\"\n  }, \"loading\"), \" when fetching data / finish\"), mdx(\"li\", {\n    parentName: \"ul\"\n  }, \"Use controlled value attribute\")), mdx(\"pre\", {\n    parentName: \"section\"\n  }, mdx(\"code\", {\n    parentName: \"pre\",\n    \"className\": \"language-jsx\",\n    \"metastring\": \"live=true\",\n    \"live\": \"true\"\n  }, \"import React from 'react';\\nimport { debounce } from 'lodash-es';\\nimport { Select } from '@douyinfe/semi-ui';\\n\\n() => {\\n    const [loading, setLoading] = useState(false);\\n    const optionList = [\\n        { value: 'dsm', label: 'Semi DSM', type: 1 },\\n        { value: 'd2c', label: 'Semi DesignToCode', type: 2 },\\n        { value: 'c2d', label: 'Semi CodeToDesign', type: 3 },\\n        { value: 'plugin', label: 'Semi Plugin', type: 4 },\\n    ];\\n    const [list, setList] = useState(optionList);\\n    const [value, setValue] = useState('');\\n\\n    const handleMultipleChange = newValue => {\\n        setValue(newValue);\\n    };\\n\\n    const handleSearch = inputValue => {\\n        setLoading(true);\\n        let result = [];\\n        if (inputValue) {\\n            let length = Math.ceil(Math.random() * 100);\\n            result = Array.from({ length }, (v, i) => {\\n                return { value: inputValue + i, label: `Relative: ${inputValue}${i}`, type: i + 1 };\\n            });\\n            setTimeout(() => {\\n                setLoading(false);\\n                setList(result);\\n            }, 1000);\\n        } else {\\n            setLoading(false);\\n        }\\n    };\\n\\n    return (\\n        <Select\\n            style={{ width: 300 }}\\n            filter\\n            remote\\n            onChangeWithObject\\n            multiple\\n            value={value}\\n            onSearch={debounce(handleSearch, 1000)}\\n            optionList={list}\\n            loading={loading}\\n            onChange={handleMultipleChange}\\n            emptyContent={null}\\n        ></Select>\\n    );\\n};\\n\")), mdx(\"h3\", {\n    parentName: \"section\"\n  }, \"Custom search strategy\"), mdx(\"p\", {\n    parentName: \"section\"\n  }, \"By default, the user's search input will be compared with the option's label value as a string include.\", mdx(\"br\", {\n    parentName: \"p\"\n  }), \"\\n\", \"You can set \", mdx(\"inlineCode\", {\n    parentName: \"p\"\n  }, \"filter\"), \" as a custom function to customize your filter strategy.\"), mdx(\"pre\", {\n    parentName: \"section\"\n  }, mdx(\"code\", {\n    parentName: \"pre\",\n    \"className\": \"language-jsx\",\n    \"metastring\": \"live=true\",\n    \"live\": \"true\"\n  }, \"import React from 'react';\\nimport { Select } from '@douyinfe/semi-ui';\\n\\n() => {\\n    function search(sugInput, option) {\\n        // Search for both label and value\\n        let label = option.label.toUpperCase();\\n        let value = option.value.toUpperCase();\\n        let sug = sugInput.toUpperCase();\\n        return label.includes(sug) || value.includes(sug);\\n    }\\n    return (\\n        <Select filter={search} style={{ width: '180px' }} placeholder=\\\"try hello or douyin\\\">\\n            <Select.Option value=\\\"hello\\\">Douyin</Select.Option>\\n            <Select.Option value=\\\"bytedance\\\">UlikeCam</Select.Option>\\n            <Select.Option value=\\\"semi\\\">BuzzVideo</Select.Option>\\n        </Select>\\n    );\\n};\\n\")), mdx(\"h3\", {\n    parentName: \"section\"\n  }, \"Custom selection rendering\"), mdx(\"p\", {\n    parentName: \"section\"\n  }, \"By default, the content of \", mdx(\"inlineCode\", {\n    parentName: \"p\"\n  }, \"option.label\"), \" or \", mdx(\"inlineCode\", {\n    parentName: \"p\"\n  }, \"option.children\"), \" will be backfilled into the selection box when the option is selected.\", mdx(\"br\", {\n    parentName: \"p\"\n  }), \"\\n\", \"But you can customize the rendering of the selection box through the \", mdx(\"inlineCode\", {\n    parentName: \"p\"\n  }, \"renderSelectedItem\"), \" function\"), mdx(\"ul\", {\n    parentName: \"section\"\n  }, mdx(\"li\", {\n    parentName: \"ul\"\n  }, \"Select: \", mdx(\"inlineCode\", {\n    parentName: \"li\"\n  }, \"renderSelectedItem(optionNode: object) => content: ReactNode\")), mdx(\"li\", {\n    parentName: \"ul\"\n  }, \"Multiple Select: \", mdx(\"inlineCode\", {\n    parentName: \"li\"\n  }, \"renderSelectedItem(optionNode: object, { index: number, onClose: function }) => { isRenderInTag: boolean, content: ReactNode }\"), mdx(\"ul\", {\n    parentName: \"li\"\n  }, mdx(\"li\", {\n    parentName: \"ul\"\n  }, \"When \", mdx(\"inlineCode\", {\n    parentName: \"li\"\n  }, \"isRenderInTag\"), \" is true, content will automatically wrapped in \", mdx(\"inlineCode\", {\n    parentName: \"li\"\n  }, \"Tag\"), \" rendering (with background color and close button)\"), mdx(\"li\", {\n    parentName: \"ul\"\n  }, \"When \", mdx(\"inlineCode\", {\n    parentName: \"li\"\n  }, \"isRenderInTag\"), \" is false, it renders the returned content directly\")))), mdx(\"pre\", {\n    parentName: \"section\"\n  }, mdx(\"code\", {\n    parentName: \"pre\",\n    \"className\": \"language-jsx\",\n    \"metastring\": \"live=true\",\n    \"live\": \"true\"\n  }, \"import React from 'react';\\nimport { Select, Avatar, Tag } from '@douyinfe/semi-ui';\\n\\n() => {\\n    const list = [\\n        {\\n            name: 'Keman Xia',\\n            email: 'xiakeman@example.com',\\n            avatar:\\n                'https://lf3-static.bytednsdoc.com/obj/eden-cn/ptlz_zlp/ljhwZthlaukjlkulzlp/root-web-sites/bag.jpeg',\\n        },\\n        {\\n            name: 'Yue Shen',\\n            email: 'shenyue@example.com',\\n            avatar:\\n                'https://sf6-cdn-tos.douyinstatic.com/obj/eden-cn/ptlz_zlp/ljhwZthlaukjlkulzlp/root-web-sites/bf8647bffab13c38772c9ff94bf91a9d.jpg',\\n        },\\n        {\\n            name: 'Chenyi Qu',\\n            email: 'quchenyi@example.com',\\n            avatar:\\n                'https://lf3-static.bytednsdoc.com/obj/eden-cn/ptlz_zlp/ljhwZthlaukjlkulzlp/root-web-sites/Viamaker.png',\\n        },\\n        {\\n            name: 'Jiamao Wen',\\n            email: 'wenjiamao@example.com',\\n            avatar:\\n                'https://sf6-cdn-tos.douyinstatic.com/obj/eden-cn/ptlz_zlp/ljhwZthlaukjlkulzlp/root-web-sites/6fbafc2d-e3e6-4cff-a1e2-17709c680624.png',\\n        },\\n    ];\\n\\n    const renderSelectedItem = optionNode => (\\n        <div key={optionNode.email} style={{ display: 'flex', alignItems: 'center' }}>\\n            <Avatar src={optionNode.avatar} size=\\\"small\\\">\\n                {optionNode.abbr}\\n            </Avatar>\\n            <span style={{ marginLeft: 8 }}>{optionNode.email}</span>\\n        </div>\\n    );\\n\\n    // avatarSrc & avatarShape are supported\\n    const renderMultipleWithCustomTag = (optionNode, { onClose }) => {\\n        const content = (\\n            <Tag\\n                avatarSrc={optionNode.avatar}\\n                avatarShape=\\\"circle\\\"\\n                closable={true}\\n                onClose={onClose}\\n                size=\\\"large\\\"\\n                key={optionNode.name}\\n            >\\n                {optionNode.name}\\n            </Tag>\\n        );\\n        return {\\n            isRenderInTag: false,\\n            content,\\n        };\\n    };\\n\\n    const renderMultipleWithCustomTag2 = (optionNode, { onClose }) => {\\n        const content = (\\n            <Tag\\n                avatarSrc={optionNode.avatar}\\n                avatarShape=\\\"square\\\"\\n                closable={true}\\n                onClose={onClose}\\n                size=\\\"large\\\"\\n                key={optionNode.name}\\n            >\\n                {optionNode.name}\\n            </Tag>\\n        );\\n        return {\\n            isRenderInTag: false,\\n            content,\\n        };\\n    };\\n\\n    const renderCustomOption = (item, index) => {\\n        const optionStyle = {\\n            display: 'flex',\\n            paddingLeft: 24,\\n            paddingTop: 10,\\n            paddingBottom: 10,\\n        };\\n        return (\\n            <Select.Option value={item.name} style={optionStyle} showTick={true} {...item} key={item.email}>\\n                <Avatar size=\\\"small\\\" src={item.avatar} />\\n                <div style={{ marginLeft: 8 }}>\\n                    <div style={{ fontSize: 14 }}>{item.name}</div>\\n                    <div\\n                        style={{ color: 'var(--color-text-2)', fontSize: 12, lineHeight: '16px', fontWeight: 'normal' }}\\n                    >\\n                        {item.email}\\n                    </div>\\n                </div>\\n            </Select.Option>\\n        );\\n    };\\n\\n    return (\\n        <>\\n            <Select\\n                placeholder=\\\"Please select...\\\"\\n                style={{ width: 280, height: 40 }}\\n                onChange={v => console.log(v)}\\n                defaultValue={'Keman Xia'}\\n                renderSelectedItem={renderSelectedItem}\\n            >\\n                {list.map((item, index) => renderCustomOption(item, index))}\\n            </Select>\\n            <Select\\n                placeholder=\\\"Please select...\\\"\\n                maxTagCount={2}\\n                style={{ width: 280, marginTop: 20 }}\\n                onChange={v => console.log(v)}\\n                defaultValue={['Keman Xia', 'Yue Shen']}\\n                multiple\\n                renderSelectedItem={renderMultipleWithCustomTag}\\n            >\\n                {list.map((item, index) => renderCustomOption(item, index))}\\n            </Select>\\n            <Select\\n                placeholder=\\\"Please select...\\\"\\n                maxTagCount={2}\\n                style={{ width: 280, marginTop: 20 }}\\n                onChange={v => console.log(v)}\\n                defaultValue={['Keman Xia', 'Yue Shen']}\\n                multiple\\n                renderSelectedItem={renderMultipleWithCustomTag2}\\n            >\\n                {list.map((item, index) => renderCustomOption(item, index))}\\n            </Select>\\n        </>\\n    );\\n};\\n\")), mdx(\"h3\", {\n    parentName: \"section\"\n  }, \"Custom pop-up layer style\"), mdx(\"p\", {\n    parentName: \"section\"\n  }, \"You can control the style of the pop-up layer through \", mdx(\"inlineCode\", {\n    parentName: \"p\"\n  }, \"dropdownClassName\"), \", \", mdx(\"inlineCode\", {\n    parentName: \"p\"\n  }, \"dropdownStyle\"), mdx(\"br\", {\n    parentName: \"p\"\n  }), \"\\n\", \"For example, when you customize the width of the pop-up layer, you can pass the width through \", mdx(\"inlineCode\", {\n    parentName: \"p\"\n  }, \"drowndownStyle\")), mdx(\"pre\", {\n    parentName: \"section\"\n  }, mdx(\"code\", {\n    parentName: \"pre\",\n    \"className\": \"language-jsx\",\n    \"metastring\": \"live=true\",\n    \"live\": \"true\"\n  }, \"import React from 'react';\\nimport { Select } from '@douyinfe/semi-ui';\\n\\n() => (\\n    <Select style={{ width: 180 }} dropdownStyle={{ width: 250 }} dropdownClassName=\\\"test\\\">\\n        <Select.Option value=\\\"douyin\\\">Douyin</Select.Option>\\n        <Select.Option value=\\\"coze\\\">Coze</Select.Option>\\n        <Select.Option value=\\\"capcut\\\">Capcut</Select.Option>\\n        <Select.Option value=\\\"xigua\\\">BuzzVideo</Select.Option>\\n    </Select>\\n);\\n\")), mdx(\"h3\", {\n    parentName: \"section\"\n  }, \"Dynamic Modification Options\"), mdx(\"p\", {\n    parentName: \"section\"\n  }, \"If you need to update Options dynamically, you should use controlled value\"), mdx(\"pre\", {\n    parentName: \"section\"\n  }, mdx(\"code\", {\n    parentName: \"pre\",\n    \"className\": \"language-jsx\",\n    \"metastring\": \"live=true\",\n    \"live\": \"true\"\n  }, \"import React from 'react';\\nimport { Select, Button } from '@douyinfe/semi-ui';\\n\\n() => {\\n    let [options, setOptions] = useState([1, 2, 3, 4]);\\n    function add() {\\n        let length = Math.ceil(Math.random() * 10);\\n        let newOptions = Array.from({ length }, (v, i) => i + 1);\\n        setOptions(newOptions);\\n    }\\n    return (\\n        <>\\n            <Select style={{ width: '180px' }} value={4}>\\n                {options.map(option => (\\n                    <Select.Option value={option} key={option}>\\n                        {option}\\n                    </Select.Option>\\n                ))}\\n            </Select>\\n            <br />\\n            <br />\\n            <Button onClick={add}>ChangeOptions Dynamic</Button>\\n        </>\\n    );\\n};\\n\")), mdx(\"h3\", {\n    parentName: \"section\"\n  }, \"Get all attribute of selected option\"), mdx(\"p\", {\n    parentName: \"section\"\n  }, \"By default, through \", mdx(\"inlineCode\", {\n    parentName: \"p\"\n  }, \"onChange\"), \" uou can only get value attribute of selected option.\", mdx(\"br\", {\n    parentName: \"p\"\n  }), \"\\n\", \"If you need to take other attributes of the selected option, you can use \", mdx(\"inlineCode\", {\n    parentName: \"p\"\n  }, \"onChangeWithObject\"), \" Properties\", mdx(\"br\", {\n    parentName: \"p\"\n  }), \"\\n\", \"At this time, the argument of \", mdx(\"inlineCode\", {\n    parentName: \"p\"\n  }, \"onChange\"), \" will be object, containing various attributes of selected option, eg: \", mdx(\"inlineCode\", {\n    parentName: \"p\"\n  }, \"onChange({ value, label, ...rest })\"), mdx(\"br\", {\n    parentName: \"p\"\n  }), \"\\n\", \"Note that when onChange With Object is set to true,\", mdx(\"inlineCode\", {\n    parentName: \"p\"\n  }, \"defaultValue\"), \"/\", mdx(\"inlineCode\", {\n    parentName: \"p\"\n  }, \"Value\"), \"it should also be object and must have \", mdx(\"inlineCode\", {\n    parentName: \"p\"\n  }, \"value\"), \" key\"), mdx(\"pre\", {\n    parentName: \"section\"\n  }, mdx(\"code\", {\n    parentName: \"pre\",\n    \"className\": \"language-jsx\",\n    \"metastring\": \"live=true\",\n    \"live\": \"true\"\n  }, \"import React from 'react';\\nimport { Select, TextArea } from '@douyinfe/semi-ui';\\n\\n() => {\\n    const list = [\\n        { value: 'douyin', label: 'Douyin', type: 1 },\\n        { value: 'capcut', label: 'Capcut', type: 2 },\\n        { value: 'xigua', label: 'BuzzVideo', type: 3 },\\n    ];\\n    const [cbValue, setCbValue] = useState();\\n    const [multipleCbValue, setMultipleCbValue] = useState();\\n\\n    const onChange = value => {\\n        setCbValue(value);\\n        console.log(value);\\n    };\\n\\n    const onMultipleChange = value => {\\n        setMultipleCbValue(value);\\n        console.log(value);\\n    };\\n\\n    return (\\n        <div>\\n            <div>\\n                <Select\\n                    style={{ width: 150 }}\\n                    onChangeWithObject\\n                    optionList={list}\\n                    defaultValue={list[0]}\\n                    onChange={onChange}\\n                ></Select>\\n                <h4>onChang callback:</h4>\\n                <TextArea style={{ width: 320, marginBottom: 48 }} autosize value={JSON.stringify(cbValue)} rows={2} />\\n            </div>\\n            <div>\\n                <Select\\n                    style={{ width: 320 }}\\n                    onChangeWithObject\\n                    multiple\\n                    optionList={list}\\n                    onChange={onMultipleChange}\\n                    placeholder=\\\"Multiple Select\\\"\\n                ></Select>\\n                <h4>onChange callback:</h4>\\n                <TextArea style={{ width: 320 }} autosize value={JSON.stringify(multipleCbValue)} />\\n            </div>\\n        </div>\\n    );\\n};\\n\")), mdx(\"h3\", {\n    parentName: \"section\"\n  }, \"Create entries\"), mdx(\"p\", {\n    parentName: \"section\"\n  }, \"You can create and select entries that do not exist in the options by setting \", mdx(\"inlineCode\", {\n    parentName: \"p\"\n  }, \"allowCreate=true\"), \" You can customize the content display when creating the label through renderCreateItem (by returning ReactNode, note that you need to customize the style) In addition, can be used with the \", mdx(\"inlineCode\", {\n    parentName: \"p\"\n  }, \"defaultActiveFirstOption\"), \" property to automatically select the first item. When you enter directly and press Enter, you can immediately create an Option\"), mdx(Notice, {\n    title: \"Notice\",\n    mdxType: \"Notice\"\n  }, \"When allowCreate is enabled, it will no longer respond to updates to Children or optionList\"), mdx(\"pre\", {\n    parentName: \"section\"\n  }, mdx(\"code\", {\n    parentName: \"pre\",\n    \"className\": \"language-jsx\",\n    \"metastring\": \"live=true\",\n    \"live\": \"true\"\n  }, \"import React from 'react';\\nimport { Select } from '@douyinfe/semi-ui';\\n\\n() => {\\n    const optionList = [\\n        { value: 'douyin', label: 'Douyin' },\\n        { value: 'capcut', label: 'Capcut' },\\n        { value: 'xigua', label: 'BuzzVideo' },\\n    ];\\n    return (\\n        <>\\n            <Select\\n                style={{ width: 400 }}\\n                optionList={optionList}\\n                allowCreate={true}\\n                multiple={true}\\n                filter={true}\\n                onChange={v => console.log(v)}\\n                defaultActiveFirstOption\\n            ></Select>\\n            <br />\\n            <br />\\n            <Select\\n                style={{ width: 400 }}\\n                optionList={optionList}\\n                allowCreate={true}\\n                multiple={true}\\n                filter={true}\\n                renderCreateItem={input => <div style={{ padding: 10 }}>Create Item\\uFF1A{input}</div>}\\n                onChange={v => console.log(v)}\\n                defaultActiveFirstOption\\n            ></Select>\\n        </>\\n    );\\n};\\n\")), mdx(\"h3\", {\n    parentName: \"section\"\n  }, \"Virtualize\"), mdx(\"p\", {\n    parentName: \"section\"\n  }, \"Turn on list virtualization when passing in \", mdx(\"inlineCode\", {\n    parentName: \"p\"\n  }, \"virtualize\"), \" to optimize performance when there are a large number of Option nodes virtualize is an object containing the following values:\"), mdx(\"ul\", {\n    parentName: \"section\"\n  }, mdx(\"li\", {\n    parentName: \"ul\"\n  }, \"height: Option list height value, default 270 \\uFF08before v2.20.8 was 300\\uFF09\"), mdx(\"li\", {\n    parentName: \"ul\"\n  }, \"width: Option list width value, default 100%\"), mdx(\"li\", {\n    parentName: \"ul\"\n  }, \"itemSize: The height of each line of Option, must be passed\")), mdx(Notice, {\n    title: \"Note\",\n    mdxType: \"Notice\"\n  }, \"When virtualize.height is greater than the default value of 270px, to avoid the double scrollbar issue, you need to set the maxHeight property to the same value as virtualize.height. For example: when setting virtualize.height to 400px, you should also set maxHeight=\", 400, \".\"), mdx(\"pre\", {\n    parentName: \"section\"\n  }, mdx(\"code\", {\n    parentName: \"pre\",\n    \"className\": \"language-jsx\",\n    \"metastring\": \"live=true hideInDSM\",\n    \"live\": \"true\",\n    \"hideInDSM\": true\n  }, \"import React, { useMemo } from 'react';\\nimport { Select } from '@douyinfe/semi-ui';\\n\\n() => {\\n    const optionList = useMemo(() => {\\n        return Array.from({ length: 3000 }, (v, i) => ({ label: `option-${i}`, value: i }));\\n    }, []);\\n    \\n    const virtualize = {\\n        height: 270,\\n        width: '100%',\\n        itemSize: 36, // px\\n    };\\n    \\n    return (\\n        <>\\n            <Select\\n                placeholder=\\\"3000 options\\\"\\n                style={{ width: 260 }}\\n                filter\\n                virtualize={virtualize}\\n                optionList={optionList}\\n            ></Select>\\n        </>\\n    );\\n};\\n\")), mdx(\"h3\", {\n    parentName: \"section\"\n  }, \"Custom Trigger\"), mdx(\"p\", {\n    parentName: \"section\"\n  }, \"If the default layout style of the selection box does not meet your needs, you can use \", mdx(\"inlineCode\", {\n    parentName: \"p\"\n  }, \"triggerRender\"), \" to customize the display of the selection box\"), mdx(\"p\", {\n    parentName: \"section\"\n  }, \"The parameters of triggerRender are as follows\"), mdx(\"pre\", {\n    parentName: \"section\"\n  }, mdx(\"code\", {\n    parentName: \"pre\",\n    \"className\": \"language-typescript\"\n  }, \"interface TriggerRenderProps {\\n  value: array<object> // All currently selected options\\n  inputValue: string; // The input value of the current input box\\n  onSearch: (inputValue: string) => void; // The function used to update the value of the input box. You should call this function when the value of the Input component you customize in triggerRender is updated to synchronize the state to the Select internal. props.filter needs to be true, support after v2.32\\n  onClear: () => void; // Function to clear the value\\n  onRemove: (option: object) => void; // support after v2.32\\n  disabled: boolean; // Whether to disable Select\\n  placeholder: string; // Select placeholder\\n  componentProps: //All props passed to Select by users\\n}\\n\")), mdx(\"pre\", {\n    parentName: \"section\"\n  }, mdx(\"code\", {\n    parentName: \"pre\",\n    \"className\": \"language-jsx\",\n    \"metastring\": \"live=true\",\n    \"live\": \"true\"\n  }, \"import React, { useState } from 'react';\\nimport { Select, Tag } from '@douyinfe/semi-ui';\\nimport { IconAppCenter, IconChevronDown } from '@douyinfe/semi-icons';\\n\\n() => {\\n    const [valList, setValList] = useState(['douyin', 'ulikecam']);\\n    const list = [\\n        { value: 'douyin', label: 'Douyin' },\\n        { value: 'ulikecam', label: 'UlikeCam' },\\n        { value: 'jianying', label: 'Capcut' },\\n        { value: 'doubao', label: 'Cici' },\\n    ];\\n    const triggerRender = ({ value }) => {\\n        return (\\n            <div\\n                style={{\\n                    minWidth: '112',\\n                    backgroundColor: 'var(--semi-color-primary-light-default)',\\n                    height: 32,\\n                    display: 'flex',\\n                    alignItems: 'center',\\n                    paddingLeft: 12,\\n                    borderRadius: 3,\\n                    color: 'var(--semi-color-primary)',\\n                }}\\n            >\\n                <div\\n                    style={{\\n                        fontWeight: 600,\\n                        flexShrink: 0,\\n                        fontSize: 14,\\n                    }}\\n                >\\n                    AppName\\n                </div>\\n                <div\\n                    style={{\\n                        margin: 4,\\n                        whiteSpace: 'nowrap',\\n                        textOverflow: 'ellipsis',\\n                        flexGrow: 1,\\n                        overflow: 'hidden',\\n                    }}\\n                >\\n                    {value.map(item => item.label).join(' , ')}\\n                </div>\\n                <IconAppCenter style={{ marginRight: 8, flexShrink: 0 }} />\\n            </div>\\n        );\\n    };\\n\\n    const triggerRender2 = ({ value, ...rest }) => {\\n        return (\\n            <div\\n                style={{\\n                    margin: 4,\\n                    whiteSpace: 'nowrap',\\n                    textOverflow: 'ellipsis',\\n                    flexGrow: 1,\\n                    overflow: 'hidden',\\n                    display: 'flex',\\n                    alignItems: 'center',\\n                }}\\n            >\\n                <Tag size='large' color='cyan' shape='circle' suffixIcon={<IconChevronDown />}>\\n                    {value.map(item => item.label).join(' / ')}\\n                </Tag>\\n            </div>\\n        );\\n    };\\n\\n    return (\\n        <div>\\n            <h4>Different Background Trigger</h4>\\n            <Select\\n                value={valList}\\n                triggerRender={triggerRender}\\n                optionList={list}\\n                onChange={value => setValList(value)}\\n                multiple\\n                filter\\n                searchPosition='dropdown'\\n                style={{ width: 240 }}\\n            ></Select>\\n            <br />\\n            <br />\\n            <h4>Use circle Tag as trigger</h4>\\n            <Select\\n                value={valList}\\n                onChange={value => setValList(value)}\\n                triggerRender={triggerRender2}\\n                optionList={list}\\n                filter\\n                multiple\\n                searchPosition='dropdown'\\n                style={{ width: 240, marginTop: 20, outline: 0 }}\\n            ></Select>\\n        </div>\\n    );\\n};\\n\")), mdx(\"p\", {\n    parentName: \"section\"\n  }, \"The following is a more complex example: Reusing the drag-and-sort capability of TagInput and adding sorting to Select through triggerRender.\"), mdx(\"pre\", {\n    parentName: \"section\"\n  }, mdx(\"code\", {\n    parentName: \"pre\",\n    \"className\": \"language-jsx\",\n    \"metastring\": \"live=true\",\n    \"live\": \"true\"\n  }, \"import React, { useState } from 'react';\\nimport { Select, TagInput } from '@douyinfe/semi-ui';\\n\\n() => {\\n    const [valList, setValList] = useState(['douyin', 'ulikecam']);\\n    const [inputVal, setInputVal] = useState('');\\n    const list = [\\n        { value: 'douyin', label: 'Douyin' },\\n        { value: 'ulikecam', label: 'UlikeCam' },\\n        { value: 'jianying', label: 'Capcut' },\\n        { value: 'doubao', label: 'Cici' },\\n    ];\\n     \\n    const handleSort = (currentLabels) => {\\n        const newValue = currentLabels.map(item => list.find((i) => i.label === item).value)\\n        setValList(newValue);\\n    };\\n\\n    const triggerRender = ({ value, onSearch, onClear }) => {\\n        return (\\n            <div onKeyDown={e=>e.stopPropagation()}>\\n                <TagInput\\n                    draggable\\n                    allowDuplicates={false}\\n                    value={value.map(item => item.label)}\\n                    inputValue={inputVal}\\n                    onInputChange={(word) => {\\n                        onSearch(word);\\n                        setInputVal(word);\\n                    }}\\n                    onChange={handleSort}\\n                    onClear={() => onClear()}\\n                    showClear\\n                />\\n            </div>\\n        );\\n    }; \\n  \\n    return (\\n        <>\\n            <h4>Select that can reorder selected options by dragging</h4>\\n            <Select\\n                value={valList}\\n                triggerRender={triggerRender}\\n                optionList={list}\\n                onChange={value => setValList(value)}\\n                multiple\\n                filter\\n                style={{ width: 240 }}\\n            ></Select>\\n        </>\\n    );\\n};\\n\")), mdx(\"h3\", {\n    parentName: \"section\"\n  }, \"Custom Option Render\"), mdx(\"ul\", {\n    parentName: \"section\"\n  }, mdx(\"li\", {\n    parentName: \"ul\"\n  }, \"Simple customization: Pass the label property of Option or children into ReactNode, you can control the rendering of the candidates, and the content will automatically bring styles such as padding, background color, etc.\"), mdx(\"li\", {\n    parentName: \"ul\"\n  }, \"Complete customization: By passing in \", mdx(\"inlineCode\", {\n    parentName: \"li\"\n  }, \"renderOptionItem\"), \", you can completely take over the rendering of the candidates in the list, and get the relevant state values from the callback input parameters. Achieve a higher degree of freedom of structural rendering\", mdx(\"br\", {\n    parentName: \"li\"\n  }), \"Notice:\", mdx(\"ol\", {\n    parentName: \"li\"\n  }, mdx(\"li\", {\n    parentName: \"ol\"\n  }, \"The style passed in by props needs to be consumed on wrapper dom, otherwise it will not be able to be used normally in virtualization scenarios\"), mdx(\"li\", {\n    parentName: \"ol\"\n  }, \"The styles of selected, focused, disabled, etc. state need to be added by yourself, and you can get the relative boolean value from props\"), mdx(\"li\", {\n    parentName: \"ol\"\n  }, mdx(\"inlineCode\", {\n    parentName: \"li\"\n  }, \"onMouseEnter\"), \"\\u3001\", mdx(\"inlineCode\", {\n    parentName: \"li\"\n  }, \"className\"), \" needs to be bound on the wrapper dom, otherwise the display will be problematic when the upper and lower keyboards are operated\"), mdx(\"li\", {\n    parentName: \"ol\"\n  }, \"If your custom item is Select.Option, you need to pass renderProps.onClick transparently to the onSelect prop of Option\")))), mdx(\"pre\", {\n    parentName: \"section\"\n  }, mdx(\"code\", {\n    parentName: \"pre\",\n    \"className\": \"language-jsx\",\n    \"metastring\": \"live=true\",\n    \"live\": \"true\"\n  }, \"import React from 'react';\\nimport { Select, Checkbox } from '@douyinfe/semi-ui';\\n\\n() => {\\n    const renderOptionItem = renderProps => {\\n        const {\\n            disabled,\\n            selected,\\n            label,\\n            value,\\n            focused,\\n            className,\\n            style,\\n            onMouseEnter,\\n            onClick,\\n            empty,\\n            emptyContent,\\n            ...rest\\n        } = renderProps;\\n        const optionCls = classNames({\\n            ['custom-option-render']: true,\\n            ['custom-option-render-focused']: focused,\\n            ['custom-option-render-disabled']: disabled,\\n            ['custom-option-render-selected']: selected,\\n            className,\\n        });\\n        // Notice\\uFF1A\\n        // 1. The style passed in by props needs to be consumed on wrapper dom, otherwise it will not be able to be used normally in virtualization scenarios\\n        // 2. The styles of selected (selected), focused (focused), disabled (disabled) and other states need to be added by yourself, you can get the relative boolean value from props\\n        // 3.onMouseEnter needs to be bound on the wrapper dom, otherwise the display will be problematic when the upper and lower keyboards are operated\\n\\n        return (\\n            <div style={style} className={optionCls} onClick={() => onClick()} onMouseEnter={e => onMouseEnter()}>\\n                <Checkbox checked={selected} />\\n                <div className=\\\"option-right\\\">{label}</div>\\n            </div>\\n        );\\n    };\\n\\n    const optionList = [\\n        { value: 'douyin', label: 'Semi', otherKey: 0 },\\n        { value: 'capcut', label: 'Capcut', disabled: true, otherKey: 1 },\\n        { value: 'cam', label: 'UlikeCam', otherKey: 2 },\\n        { value: 'buzz', label: 'Buzz', otherKey: 3 },\\n    ];\\n\\n    return (\\n        <>\\n            <Select\\n                filter\\n                defaultOpen\\n                defaultValue=\\\"douyin\\\"\\n                dropdownClassName=\\\"components-select-demo-renderOptionItem\\\"\\n                optionList={optionList}\\n                style={{ width: 180 }}\\n                renderOptionItem={renderOptionItem}\\n            />\\n            <br />\\n            <br />\\n            <Select\\n                filter\\n                placeholder=\\\"multiple\\\"\\n                multiple\\n                dropdownClassName=\\\"components-select-demo-renderOptionItem\\\"\\n                optionList={optionList}\\n                style={{ width: 320, marginTop: 180 }}\\n                renderOptionItem={renderOptionItem}\\n            />\\n        </>\\n    );\\n};\\n\")), mdx(\"pre\", {\n    parentName: \"section\"\n  }, mdx(\"code\", {\n    parentName: \"pre\",\n    \"className\": \"language-scss\"\n  }, \".components-select-demo-renderOptionItem {\\n    .custom-option-render {\\n        display: flex;\\n        font-size: 14px;\\n        line-height: 20px;\\n        word-break: break-all;\\n        padding-left: 12px;\\n        padding-right: 12px;\\n        padding-top: 8px;\\n        padding-bottom: 8px;\\n        color: var(--semi-color-text-0);\\n        position: relative;\\n        display: flex;\\n        align-items: center;\\n        cursor: pointer;\\n        box-sizing: border-box;\\n        .option-right {\\n            margin-left: 8px;\\n            display: inline-flex;\\n            align-items: center;\\n        }\\n        &:active {\\n            background-color: var(--semi-color-fill-1);\\n        }\\n        &-focused {\\n            background-color: var(--semi-color-fill-0);\\n        }\\n        &-selected {\\n            //font-weight: 700;\\n        }\\n        &-disabled {\\n            color: var(--semi-color-disabled-text);\\n            cursor: not-allowed;\\n        }\\n        &:first-of-type {\\n            margin-top: 4px;\\n        }\\n        &:last-of-type {\\n            margin-bottom: 4px;\\n        }\\n    }\\n}\\n\"))), mdx(\"section\", null, mdx(\"h2\", {\n    parentName: \"section\"\n  }, \"API reference\"), mdx(\"h3\", {\n    parentName: \"section\"\n  }, \"Select Props\"), mdx(\"table\", {\n    parentName: \"section\"\n  }, mdx(\"thead\", {\n    parentName: \"table\"\n  }, mdx(\"tr\", {\n    parentName: \"thead\"\n  }, mdx(\"th\", {\n    parentName: \"tr\",\n    \"align\": null\n  }, \"Properties\"), mdx(\"th\", {\n    parentName: \"tr\",\n    \"align\": null\n  }, \"Instructions\"), mdx(\"th\", {\n    parentName: \"tr\",\n    \"align\": null\n  }, \"Type\"), mdx(\"th\", {\n    parentName: \"tr\",\n    \"align\": null\n  }, \"Default\"), mdx(\"th\", {\n    parentName: \"tr\",\n    \"align\": null\n  }, \"version\"))), mdx(\"tbody\", {\n    parentName: \"table\"\n  }, mdx(\"tr\", {\n    parentName: \"tbody\"\n  }, mdx(\"td\", {\n    parentName: \"tr\",\n    \"align\": null\n  }, \"allowCreate\"), mdx(\"td\", {\n    parentName: \"tr\",\n    \"align\": null\n  }, \"Whether to allow the user to create new entries. Needs to be used with \", mdx(\"inlineCode\", {\n    parentName: \"td\"\n  }, \"filter\"), \". When allowCreate is enabled, it will no longer respond to updates to children or optionList\"), mdx(\"td\", {\n    parentName: \"tr\",\n    \"align\": null\n  }, \"boolean\"), mdx(\"td\", {\n    parentName: \"tr\",\n    \"align\": null\n  }, \"false\"), mdx(\"td\", {\n    parentName: \"tr\",\n    \"align\": null\n  })), mdx(\"tr\", {\n    parentName: \"tbody\"\n  }, mdx(\"td\", {\n    parentName: \"tr\",\n    \"align\": null\n  }, \"arrowIcon\"), mdx(\"td\", {\n    parentName: \"tr\",\n    \"align\": null\n  }, \"Customize the right drop-down arrow Icon, when the showClear switch is turned on and there is currently a selected value, hover will give priority to the clear icon\"), mdx(\"td\", {\n    parentName: \"tr\",\n    \"align\": null\n  }, \"ReactNode\"), mdx(\"td\", {\n    parentName: \"tr\",\n    \"align\": null\n  }), mdx(\"td\", {\n    parentName: \"tr\",\n    \"align\": null\n  })), mdx(\"tr\", {\n    parentName: \"tbody\"\n  }, mdx(\"td\", {\n    parentName: \"tr\",\n    \"align\": null\n  }, \"autoAdjustOverflow\"), mdx(\"td\", {\n    parentName: \"tr\",\n    \"align\": null\n  }, \"Whether the pop-up layer automatically adjusts the direction when it is obscured (only vertical direction is supported for the time being, and the inserted parent is body)\"), mdx(\"td\", {\n    parentName: \"tr\",\n    \"align\": null\n  }, \"boolean\"), mdx(\"td\", {\n    parentName: \"tr\",\n    \"align\": null\n  }, \"true\"), mdx(\"td\", {\n    parentName: \"tr\",\n    \"align\": null\n  })), mdx(\"tr\", {\n    parentName: \"tbody\"\n  }, mdx(\"td\", {\n    parentName: \"tr\",\n    \"align\": null\n  }, \"autoClearSearchValue\"), mdx(\"td\", {\n    parentName: \"tr\",\n    \"align\": null\n  }, \"After selecting the option, whether to automatically clear the search keywords, it will take effect when mutilple and filter are both enabled\"), mdx(\"td\", {\n    parentName: \"tr\",\n    \"align\": null\n  }, \"boolean\"), mdx(\"td\", {\n    parentName: \"tr\",\n    \"align\": null\n  }, \"true\"), mdx(\"td\", {\n    parentName: \"tr\",\n    \"align\": null\n  }, \"2.3.0\")), mdx(\"tr\", {\n    parentName: \"tbody\"\n  }, mdx(\"td\", {\n    parentName: \"tr\",\n    \"align\": null\n  }, \"autoFocus\"), mdx(\"td\", {\n    parentName: \"tr\",\n    \"align\": null\n  }, \"Whether automatically focus when component mount\"), mdx(\"td\", {\n    parentName: \"tr\",\n    \"align\": null\n  }, \"boolean\"), mdx(\"td\", {\n    parentName: \"tr\",\n    \"align\": null\n  }, \"false\"), mdx(\"td\", {\n    parentName: \"tr\",\n    \"align\": null\n  })), mdx(\"tr\", {\n    parentName: \"tbody\"\n  }, mdx(\"td\", {\n    parentName: \"tr\",\n    \"align\": null\n  }, \"borderless\"), mdx(\"td\", {\n    parentName: \"tr\",\n    \"align\": null\n  }, \"borderless mode  >=2.33.0\"), mdx(\"td\", {\n    parentName: \"tr\",\n    \"align\": null\n  }, \"boolean\"), mdx(\"td\", {\n    parentName: \"tr\",\n    \"align\": null\n  }), mdx(\"td\", {\n    parentName: \"tr\",\n    \"align\": null\n  })), mdx(\"tr\", {\n    parentName: \"tbody\"\n  }, mdx(\"td\", {\n    parentName: \"tr\",\n    \"align\": null\n  }, \"className\"), mdx(\"td\", {\n    parentName: \"tr\",\n    \"align\": null\n  }, \"The CSS class name of the wrapper element\"), mdx(\"td\", {\n    parentName: \"tr\",\n    \"align\": null\n  }, \"string\"), mdx(\"td\", {\n    parentName: \"tr\",\n    \"align\": null\n  }), mdx(\"td\", {\n    parentName: \"tr\",\n    \"align\": null\n  })), mdx(\"tr\", {\n    parentName: \"tbody\"\n  }, mdx(\"td\", {\n    parentName: \"tr\",\n    \"align\": null\n  }, \"clearIcon\"), mdx(\"td\", {\n    parentName: \"tr\",\n    \"align\": null\n  }, \"Can be used to customize the clear button, valid when showClear is true\"), mdx(\"td\", {\n    parentName: \"tr\",\n    \"align\": null\n  }, \"ReactNode\"), mdx(\"td\", {\n    parentName: \"tr\",\n    \"align\": null\n  }), mdx(\"td\", {\n    parentName: \"tr\",\n    \"align\": null\n  }, \"2.25.0\")), mdx(\"tr\", {\n    parentName: \"tbody\"\n  }, mdx(\"td\", {\n    parentName: \"tr\",\n    \"align\": null\n  }, \"clickToHide\"), mdx(\"td\", {\n    parentName: \"tr\",\n    \"align\": null\n  }, \"When expanded, click on the selection box to automatically put away the drop-down list\"), mdx(\"td\", {\n    parentName: \"tr\",\n    \"align\": null\n  }, \"boolean\"), mdx(\"td\", {\n    parentName: \"tr\",\n    \"align\": null\n  }, \"false\"), mdx(\"td\", {\n    parentName: \"tr\",\n    \"align\": null\n  })), mdx(\"tr\", {\n    parentName: \"tbody\"\n  }, mdx(\"td\", {\n    parentName: \"tr\",\n    \"align\": null\n  }, \"defaultValue\"), mdx(\"td\", {\n    parentName: \"tr\",\n    \"align\": null\n  }, \"Originally selected value when component mount\"), mdx(\"td\", {\n    parentName: \"tr\",\n    \"align\": null\n  }, \"string\", \"|\", \"number\", \"|\", \"array\"), mdx(\"td\", {\n    parentName: \"tr\",\n    \"align\": null\n  }), mdx(\"td\", {\n    parentName: \"tr\",\n    \"align\": null\n  })), mdx(\"tr\", {\n    parentName: \"tbody\"\n  }, mdx(\"td\", {\n    parentName: \"tr\",\n    \"align\": null\n  }, \"defaultOpen\"), mdx(\"td\", {\n    parentName: \"tr\",\n    \"align\": null\n  }, \"Whether show dropdown when component mounted\"), mdx(\"td\", {\n    parentName: \"tr\",\n    \"align\": null\n  }, \"boolean\"), mdx(\"td\", {\n    parentName: \"tr\",\n    \"align\": null\n  }, \"false\"), mdx(\"td\", {\n    parentName: \"tr\",\n    \"align\": null\n  })), mdx(\"tr\", {\n    parentName: \"tbody\"\n  }, mdx(\"td\", {\n    parentName: \"tr\",\n    \"align\": null\n  }, \"defaultActiveFirstOption\"), mdx(\"td\", {\n    parentName: \"tr\",\n    \"align\": null\n  }, \"Whether to highlight the first option by default (press Enter to select directly)\"), mdx(\"td\", {\n    parentName: \"tr\",\n    \"align\": null\n  }, \"boolean\"), mdx(\"td\", {\n    parentName: \"tr\",\n    \"align\": null\n  }, \"true\"), mdx(\"td\", {\n    parentName: \"tr\",\n    \"align\": null\n  })), mdx(\"tr\", {\n    parentName: \"tbody\"\n  }, mdx(\"td\", {\n    parentName: \"tr\",\n    \"align\": null\n  }, \"disabled\"), mdx(\"td\", {\n    parentName: \"tr\",\n    \"align\": null\n  }, \"Whether disabled component\"), mdx(\"td\", {\n    parentName: \"tr\",\n    \"align\": null\n  }, \"boolean\"), mdx(\"td\", {\n    parentName: \"tr\",\n    \"align\": null\n  }, \"false\"), mdx(\"td\", {\n    parentName: \"tr\",\n    \"align\": null\n  })), mdx(\"tr\", {\n    parentName: \"tbody\"\n  }, mdx(\"td\", {\n    parentName: \"tr\",\n    \"align\": null\n  }, \"dropdownClassName\"), mdx(\"td\", {\n    parentName: \"tr\",\n    \"align\": null\n  }, \"ClassName of the pop-up layer\"), mdx(\"td\", {\n    parentName: \"tr\",\n    \"align\": null\n  }, \"string\"), mdx(\"td\", {\n    parentName: \"tr\",\n    \"align\": null\n  }), mdx(\"td\", {\n    parentName: \"tr\",\n    \"align\": null\n  })), mdx(\"tr\", {\n    parentName: \"tbody\"\n  }, mdx(\"td\", {\n    parentName: \"tr\",\n    \"align\": null\n  }, \"dropdownMatchSelectWidth\"), mdx(\"td\", {\n    parentName: \"tr\",\n    \"align\": null\n  }, \"Is the minimum width of the drop-down menu equal to Select\"), mdx(\"td\", {\n    parentName: \"tr\",\n    \"align\": null\n  }, \"boolean\"), mdx(\"td\", {\n    parentName: \"tr\",\n    \"align\": null\n  }, \"true\"), mdx(\"td\", {\n    parentName: \"tr\",\n    \"align\": null\n  })), mdx(\"tr\", {\n    parentName: \"tbody\"\n  }, mdx(\"td\", {\n    parentName: \"tr\",\n    \"align\": null\n  }, \"dropdownMargin\"), mdx(\"td\", {\n    parentName: \"tr\",\n    \"align\": null\n  }, \"Popup layer calculates the size of the safe area when the current direction overflows, used in scenes covered by fixed elements, more detail refer to \", mdx(\"a\", {\n    parentName: \"td\",\n    \"href\": \"https://github.com/DouyinFE/semi-design/issues/549\"\n  }, \"issue#549\"), \", same as Tooltip margin\"), mdx(\"td\", {\n    parentName: \"tr\",\n    \"align\": null\n  }, \"object\", \"|\", \"number\"), mdx(\"td\", {\n    parentName: \"tr\",\n    \"align\": null\n  }), mdx(\"td\", {\n    parentName: \"tr\",\n    \"align\": null\n  }, \"2.25.0\")), mdx(\"tr\", {\n    parentName: \"tbody\"\n  }, mdx(\"td\", {\n    parentName: \"tr\",\n    \"align\": null\n  }, \"dropdownStyle\"), mdx(\"td\", {\n    parentName: \"tr\",\n    \"align\": null\n  }, \"The inline style of the pop-up layer\"), mdx(\"td\", {\n    parentName: \"tr\",\n    \"align\": null\n  }, \"object\"), mdx(\"td\", {\n    parentName: \"tr\",\n    \"align\": null\n  }), mdx(\"td\", {\n    parentName: \"tr\",\n    \"align\": null\n  })), mdx(\"tr\", {\n    parentName: \"tbody\"\n  }, mdx(\"td\", {\n    parentName: \"tr\",\n    \"align\": null\n  }, \"emptyContent\"), mdx(\"td\", {\n    parentName: \"tr\",\n    \"align\": null\n  }, \"Content displayed when there is no result. When set to null, the drop-down list will not be displayed\"), mdx(\"td\", {\n    parentName: \"tr\",\n    \"align\": null\n  }, \"string\"), mdx(\"td\", {\n    parentName: \"tr\",\n    \"align\": null\n  }, \"ReactNode\"), mdx(\"td\", {\n    parentName: \"tr\",\n    \"align\": null\n  })), mdx(\"tr\", {\n    parentName: \"tbody\"\n  }, mdx(\"td\", {\n    parentName: \"tr\",\n    \"align\": null\n  }, \"ellipsisTrigger\"), mdx(\"td\", {\n    parentName: \"tr\",\n    \"align\": null\n  }, \"When maxTagCount exists and is multi-select, whether to perform adaptive processing on the overflow part of the tag(When the width is insufficient, the last tag content is truncated). After enabling this function, there will be a certain performance loss, and it is not recommended to use it in large form scenarios\"), mdx(\"td\", {\n    parentName: \"tr\",\n    \"align\": null\n  }, \"boolean\"), mdx(\"td\", {\n    parentName: \"tr\",\n    \"align\": null\n  }, \"false\"), mdx(\"td\", {\n    parentName: \"tr\",\n    \"align\": null\n  }, \"2.28.0\")), mdx(\"tr\", {\n    parentName: \"tbody\"\n  }, mdx(\"td\", {\n    parentName: \"tr\",\n    \"align\": null\n  }, \"expandRestTagsOnClick\"), mdx(\"td\", {\n    parentName: \"tr\",\n    \"align\": null\n  }, \"When maxTagCount exists and is multi-selected, select whether to expand redundant Tags when the panel is open\"), mdx(\"td\", {\n    parentName: \"tr\",\n    \"align\": null\n  }, \"boolean\"), mdx(\"td\", {\n    parentName: \"tr\",\n    \"align\": null\n  }, \"false\"), mdx(\"td\", {\n    parentName: \"tr\",\n    \"align\": null\n  }, \"2.28.0\")), mdx(\"tr\", {\n    parentName: \"tbody\"\n  }, mdx(\"td\", {\n    parentName: \"tr\",\n    \"align\": null\n  }, \"filter\"), mdx(\"td\", {\n    parentName: \"tr\",\n    \"align\": null\n  }, \"Whether searchable or not, the default is false. When \", mdx(\"inlineCode\", {\n    parentName: \"td\"\n  }, \"true\"), \" is passed, it means turn on search ability, default filtering policy is whether the label matches search input\", mdx(\"br\", null), \"When the input type is function, the function arguments are searchInput, option. It should return true when the option meets the filtering conditions, otherwise it returns false.\"), mdx(\"td\", {\n    parentName: \"tr\",\n    \"align\": null\n  }, \"false\"), mdx(\"td\", {\n    parentName: \"tr\",\n    \"align\": null\n  }, \"boolean\", \"|\", \"function\"), mdx(\"td\", {\n    parentName: \"tr\",\n    \"align\": null\n  })), mdx(\"tr\", {\n    parentName: \"tbody\"\n  }, mdx(\"td\", {\n    parentName: \"tr\",\n    \"align\": null\n  }, \"getPopupContainer\"), mdx(\"td\", {\n    parentName: \"tr\",\n    \"align\": null\n  }, \"Specifies the parent DOM, and the popup layer will be rendered to the DOM, you need to set 'position: relative`    This will change the DOM tree position, but not the view's rendering position.\"), mdx(\"td\", {\n    parentName: \"tr\",\n    \"align\": null\n  }, \"function(): HTMLElement\"), mdx(\"td\", {\n    parentName: \"tr\",\n    \"align\": null\n  }, \"() => document.body\"), mdx(\"td\", {\n    parentName: \"tr\",\n    \"align\": null\n  })), mdx(\"tr\", {\n    parentName: \"tbody\"\n  }, mdx(\"td\", {\n    parentName: \"tr\",\n    \"align\": null\n  }, \"inputProps\"), mdx(\"td\", {\n    parentName: \"tr\",\n    \"align\": null\n  }, \"When filter is true, the additional configuration parameters of the input, please refer to the Input component for specific configurable properties (note: please do not pass in \", mdx(\"inlineCode\", {\n    parentName: \"td\"\n  }, \"value\"), \", \", mdx(\"inlineCode\", {\n    parentName: \"td\"\n  }, \"ref\"), \", \", mdx(\"inlineCode\", {\n    parentName: \"td\"\n  }, \"onChange\"), \", \", mdx(\"inlineCode\", {\n    parentName: \"td\"\n  }, \"onFocus\"), \", otherwise it will override Select related callbacks and affect component behavior)\"), mdx(\"td\", {\n    parentName: \"tr\",\n    \"align\": null\n  }, \"object\"), mdx(\"td\", {\n    parentName: \"tr\",\n    \"align\": null\n  }), mdx(\"td\", {\n    parentName: \"tr\",\n    \"align\": null\n  }, \"2.2.0\")), mdx(\"tr\", {\n    parentName: \"tbody\"\n  }, mdx(\"td\", {\n    parentName: \"tr\",\n    \"align\": null\n  }, \"innerTopSlot\"), mdx(\"td\", {\n    parentName: \"tr\",\n    \"align\": null\n  }, \"Render at the top of the pop-up layer, custom slot inside the optionList\"), mdx(\"td\", {\n    parentName: \"tr\",\n    \"align\": null\n  }, \"ReactNode\"), mdx(\"td\", {\n    parentName: \"tr\",\n    \"align\": null\n  }), mdx(\"td\", {\n    parentName: \"tr\",\n    \"align\": null\n  })), mdx(\"tr\", {\n    parentName: \"tbody\"\n  }, mdx(\"td\", {\n    parentName: \"tr\",\n    \"align\": null\n  }, \"innerBottomSlot\"), mdx(\"td\", {\n    parentName: \"tr\",\n    \"align\": null\n  }, \"Render at the bottom of the pop-up layer, custom slot inside the optionList\"), mdx(\"td\", {\n    parentName: \"tr\",\n    \"align\": null\n  }, \"ReactNode\"), mdx(\"td\", {\n    parentName: \"tr\",\n    \"align\": null\n  }), mdx(\"td\", {\n    parentName: \"tr\",\n    \"align\": null\n  })), mdx(\"tr\", {\n    parentName: \"tbody\"\n  }, mdx(\"td\", {\n    parentName: \"tr\",\n    \"align\": null\n  }, \"loading\"), mdx(\"td\", {\n    parentName: \"tr\",\n    \"align\": null\n  }, \"Does the drop-down list show the loading animation\"), mdx(\"td\", {\n    parentName: \"tr\",\n    \"align\": null\n  }, \"boolean\"), mdx(\"td\", {\n    parentName: \"tr\",\n    \"align\": null\n  }, \"false\"), mdx(\"td\", {\n    parentName: \"tr\",\n    \"align\": null\n  })), mdx(\"tr\", {\n    parentName: \"tbody\"\n  }, mdx(\"td\", {\n    parentName: \"tr\",\n    \"align\": null\n  }, \"max\"), mdx(\"td\", {\n    parentName: \"tr\",\n    \"align\": null\n  }, \"Maximum number of choices, effective only in multi-selection mode\"), mdx(\"td\", {\n    parentName: \"tr\",\n    \"align\": null\n  }, \"number\"), mdx(\"td\", {\n    parentName: \"tr\",\n    \"align\": null\n  }), mdx(\"td\", {\n    parentName: \"tr\",\n    \"align\": null\n  })), mdx(\"tr\", {\n    parentName: \"tbody\"\n  }, mdx(\"td\", {\n    parentName: \"tr\",\n    \"align\": null\n  }, \"maxTagCount\"), mdx(\"td\", {\n    parentName: \"tr\",\n    \"align\": null\n  }, \"In multi-selection mode, when the option is beyond maxTag Count, the subsequent option is rendered in the form of + N\"), mdx(\"td\", {\n    parentName: \"tr\",\n    \"align\": null\n  }, \"number\"), mdx(\"td\", {\n    parentName: \"tr\",\n    \"align\": null\n  }), mdx(\"td\", {\n    parentName: \"tr\",\n    \"align\": null\n  })), mdx(\"tr\", {\n    parentName: \"tbody\"\n  }, mdx(\"td\", {\n    parentName: \"tr\",\n    \"align\": null\n  }, \"maxHeight\"), mdx(\"td\", {\n    parentName: \"tr\",\n    \"align\": null\n  }, \"Maximum height of \", mdx(\"inlineCode\", {\n    parentName: \"td\"\n  }, \"optionList\"), \" in the pop-up layer. \", mdx(\"strong\", {\n    parentName: \"td\"\n  }, \"Note: When using virtualization with virtualize.height greater than the default 270px, you need to set maxHeight to the same value as virtualize.height to avoid the double scrollbar issue\")), mdx(\"td\", {\n    parentName: \"tr\",\n    \"align\": null\n  }, \"string \", \"|\", \" number\"), mdx(\"td\", {\n    parentName: \"tr\",\n    \"align\": null\n  }, \"270\"), mdx(\"td\", {\n    parentName: \"tr\",\n    \"align\": null\n  })), mdx(\"tr\", {\n    parentName: \"tbody\"\n  }, mdx(\"td\", {\n    parentName: \"tr\",\n    \"align\": null\n  }, \"multiple\"), mdx(\"td\", {\n    parentName: \"tr\",\n    \"align\": null\n  }, \"Whether allow multiple selection\"), mdx(\"td\", {\n    parentName: \"tr\",\n    \"align\": null\n  }, \"boolean\"), mdx(\"td\", {\n    parentName: \"tr\",\n    \"align\": null\n  }, \"false\"), mdx(\"td\", {\n    parentName: \"tr\",\n    \"align\": null\n  })), mdx(\"tr\", {\n    parentName: \"tbody\"\n  }, mdx(\"td\", {\n    parentName: \"tr\",\n    \"align\": null\n  }, \"outerBottomSlot\"), mdx(\"td\", {\n    parentName: \"tr\",\n    \"align\": null\n  }, \"Rendered at the bottom of the popup layer, custom slot level with optionList\"), mdx(\"td\", {\n    parentName: \"tr\",\n    \"align\": null\n  }, \"ReactNode\"), mdx(\"td\", {\n    parentName: \"tr\",\n    \"align\": null\n  }), mdx(\"td\", {\n    parentName: \"tr\",\n    \"align\": null\n  })), mdx(\"tr\", {\n    parentName: \"tbody\"\n  }, mdx(\"td\", {\n    parentName: \"tr\",\n    \"align\": null\n  }, \"outerTopSlot\"), mdx(\"td\", {\n    parentName: \"tr\",\n    \"align\": null\n  }, \"Rendered at the top of the pop-up layer, custom slot level with optionList\"), mdx(\"td\", {\n    parentName: \"tr\",\n    \"align\": null\n  }, \"ReactNode\"), mdx(\"td\", {\n    parentName: \"tr\",\n    \"align\": null\n  }), mdx(\"td\", {\n    parentName: \"tr\",\n    \"align\": null\n  })), mdx(\"tr\", {\n    parentName: \"tbody\"\n  }, mdx(\"td\", {\n    parentName: \"tr\",\n    \"align\": null\n  }, \"optionList\"), mdx(\"td\", {\n    parentName: \"tr\",\n    \"align\": null\n  }, \"You can pass Option through this property, make sure that each element in the array has \", mdx(\"inlineCode\", {\n    parentName: \"td\"\n  }, \"label\"), \", \", mdx(\"inlineCode\", {\n    parentName: \"td\"\n  }, \"value\"), \" properties\"), mdx(\"td\", {\n    parentName: \"tr\",\n    \"align\": null\n  }, \"Array (\", \"[\", \"{value, label}\", \"]\", \")\"), mdx(\"td\", {\n    parentName: \"tr\",\n    \"align\": null\n  }), mdx(\"td\", {\n    parentName: \"tr\",\n    \"align\": null\n  })), mdx(\"tr\", {\n    parentName: \"tbody\"\n  }, mdx(\"td\", {\n    parentName: \"tr\",\n    \"align\": null\n  }, \"placeholder\"), mdx(\"td\", {\n    parentName: \"tr\",\n    \"align\": null\n  }, \"placeholder\"), mdx(\"td\", {\n    parentName: \"tr\",\n    \"align\": null\n  }, \"ReactNode\"), mdx(\"td\", {\n    parentName: \"tr\",\n    \"align\": null\n  }), mdx(\"td\", {\n    parentName: \"tr\",\n    \"align\": null\n  })), mdx(\"tr\", {\n    parentName: \"tbody\"\n  }, mdx(\"td\", {\n    parentName: \"tr\",\n    \"align\": null\n  }, \"position\"), mdx(\"td\", {\n    parentName: \"tr\",\n    \"align\": null\n  }, \"Pop-up layer position, refer to \", mdx(\"a\", {\n    parentName: \"td\",\n    \"href\": \"https:/lf3-static.semi.design/obj/semi-tos/semi_main/en-US/show/popover#API%20Reference\"\n  }, \"Popover\\xB7API reference\\xB7position\")), mdx(\"td\", {\n    parentName: \"tr\",\n    \"align\": null\n  }, \"string\"), mdx(\"td\", {\n    parentName: \"tr\",\n    \"align\": null\n  }, \"'bottomLeft'\"), mdx(\"td\", {\n    parentName: \"tr\",\n    \"align\": null\n  })), mdx(\"tr\", {\n    parentName: \"tbody\"\n  }, mdx(\"td\", {\n    parentName: \"tr\",\n    \"align\": null\n  }, \"rePosKey\"), mdx(\"td\", {\n    parentName: \"tr\",\n    \"align\": null\n  }, \"You can update the value of this item to manually trigger the repositioning of the pop-up layer\"), mdx(\"td\", {\n    parentName: \"tr\",\n    \"align\": null\n  }, \"string\", \"|\", \"number\"), mdx(\"td\", {\n    parentName: \"tr\",\n    \"align\": null\n  }), mdx(\"td\", {\n    parentName: \"tr\",\n    \"align\": null\n  })), mdx(\"tr\", {\n    parentName: \"tbody\"\n  }, mdx(\"td\", {\n    parentName: \"tr\",\n    \"align\": null\n  }, \"prefix\"), mdx(\"td\", {\n    parentName: \"tr\",\n    \"align\": null\n  }, \"An input helper rendered before\"), mdx(\"td\", {\n    parentName: \"tr\",\n    \"align\": null\n  }, \"ReactNode\"), mdx(\"td\", {\n    parentName: \"tr\",\n    \"align\": null\n  }), mdx(\"td\", {\n    parentName: \"tr\",\n    \"align\": null\n  })), mdx(\"tr\", {\n    parentName: \"tbody\"\n  }, mdx(\"td\", {\n    parentName: \"tr\",\n    \"align\": null\n  }, \"preventScroll\"), mdx(\"td\", {\n    parentName: \"tr\",\n    \"align\": null\n  }, \"Indicates whether the browser should scroll the document to display the newly focused element, acting on the focus method inside the component, excluding the component passed in by the user\"), mdx(\"td\", {\n    parentName: \"tr\",\n    \"align\": null\n  }, \"boolean\"), mdx(\"td\", {\n    parentName: \"tr\",\n    \"align\": null\n  }), mdx(\"td\", {\n    parentName: \"tr\",\n    \"align\": null\n  })), mdx(\"tr\", {\n    parentName: \"tbody\"\n  }, mdx(\"td\", {\n    parentName: \"tr\",\n    \"align\": null\n  }, \"remote\"), mdx(\"td\", {\n    parentName: \"tr\",\n    \"align\": null\n  }, \"Whether to turn on remote search, when remote is true, the input content will not be locally filtered and matched\"), mdx(\"td\", {\n    parentName: \"tr\",\n    \"align\": null\n  }, \"boolean\"), mdx(\"td\", {\n    parentName: \"tr\",\n    \"align\": null\n  }, \"false\"), mdx(\"td\", {\n    parentName: \"tr\",\n    \"align\": null\n  })), mdx(\"tr\", {\n    parentName: \"tbody\"\n  }, mdx(\"td\", {\n    parentName: \"tr\",\n    \"align\": null\n  }, \"renderCreateItem\"), mdx(\"td\", {\n    parentName: \"tr\",\n    \"align\": null\n  }, \"When allowCreate is true, you can customize the rendering of the creation label\"), mdx(\"td\", {\n    parentName: \"tr\",\n    \"align\": null\n  }, \"function(inputValue: string)\"), mdx(\"td\", {\n    parentName: \"tr\",\n    \"align\": null\n  }, \"InputValue => 'Create' + InputValue\"), mdx(\"td\", {\n    parentName: \"tr\",\n    \"align\": null\n  })), mdx(\"tr\", {\n    parentName: \"tbody\"\n  }, mdx(\"td\", {\n    parentName: \"tr\",\n    \"align\": null\n  }, \"renderSelectedItem\"), mdx(\"td\", {\n    parentName: \"tr\",\n    \"align\": null\n  }, \"Customize the rendering of selected tabs in the selection box\"), mdx(\"td\", {\n    parentName: \"tr\",\n    \"align\": null\n  }, \"function(option)\"), mdx(\"td\", {\n    parentName: \"tr\",\n    \"align\": null\n  }), mdx(\"td\", {\n    parentName: \"tr\",\n    \"align\": null\n  })), mdx(\"tr\", {\n    parentName: \"tbody\"\n  }, mdx(\"td\", {\n    parentName: \"tr\",\n    \"align\": null\n  }, \"restTagsPopoverProps\"), mdx(\"td\", {\n    parentName: \"tr\",\n    \"align\": null\n  }, \"The configuration properties of the \", mdx(\"a\", {\n    parentName: \"td\",\n    \"href\": \"https:/lf3-static.semi.design/obj/semi-tos/semi_main/en-US/show/popover#API%20Reference\"\n  }, \"Popover\")), mdx(\"td\", {\n    parentName: \"tr\",\n    \"align\": null\n  }, \"PopoverProps\"), mdx(\"td\", {\n    parentName: \"tr\",\n    \"align\": null\n  }, \"{}\"), mdx(\"td\", {\n    parentName: \"tr\",\n    \"align\": null\n  }, \"2.22.0\")), mdx(\"tr\", {\n    parentName: \"tbody\"\n  }, mdx(\"td\", {\n    parentName: \"tr\",\n    \"align\": null\n  }, \"size\"), mdx(\"td\", {\n    parentName: \"tr\",\n    \"align\": null\n  }, \"Size, optional value \", mdx(\"inlineCode\", {\n    parentName: \"td\"\n  }, \"default\"), \" / \", mdx(\"inlineCode\", {\n    parentName: \"td\"\n  }, \"small\"), \" / \", mdx(\"inlineCode\", {\n    parentName: \"td\"\n  }, \"large\")), mdx(\"td\", {\n    parentName: \"tr\",\n    \"align\": null\n  }), mdx(\"td\", {\n    parentName: \"tr\",\n    \"align\": null\n  }), mdx(\"td\", {\n    parentName: \"tr\",\n    \"align\": null\n  })), mdx(\"tr\", {\n    parentName: \"tbody\"\n  }, mdx(\"td\", {\n    parentName: \"tr\",\n    \"align\": null\n  }, \"searchPosition\"), mdx(\"td\", {\n    parentName: \"tr\",\n    \"align\": null\n  }, \"When the filter is turned on, the search box is in the trigger by default. You can set it to 'dropdown' to put the search box at the top of the popup list.\"), mdx(\"td\", {\n    parentName: \"tr\",\n    \"align\": null\n  }, \"string\"), mdx(\"td\", {\n    parentName: \"tr\",\n    \"align\": null\n  }, \"'trigger'\"), mdx(\"td\", {\n    parentName: \"tr\",\n    \"align\": null\n  }, \"2.61.0\")), mdx(\"tr\", {\n    parentName: \"tbody\"\n  }, mdx(\"td\", {\n    parentName: \"tr\",\n    \"align\": null\n  }, \"showArrow\"), mdx(\"td\", {\n    parentName: \"tr\",\n    \"align\": null\n  }, \"Whether to show arrow icon\"), mdx(\"td\", {\n    parentName: \"tr\",\n    \"align\": null\n  }, \"boolean\"), mdx(\"td\", {\n    parentName: \"tr\",\n    \"align\": null\n  }, \"true\"), mdx(\"td\", {\n    parentName: \"tr\",\n    \"align\": null\n  })), mdx(\"tr\", {\n    parentName: \"tbody\"\n  }, mdx(\"td\", {\n    parentName: \"tr\",\n    \"align\": null\n  }, \"showClear\"), mdx(\"td\", {\n    parentName: \"tr\",\n    \"align\": null\n  }, \"Whether to show the clear button\"), mdx(\"td\", {\n    parentName: \"tr\",\n    \"align\": null\n  }, \"boolean\"), mdx(\"td\", {\n    parentName: \"tr\",\n    \"align\": null\n  }, \"false\"), mdx(\"td\", {\n    parentName: \"tr\",\n    \"align\": null\n  })), mdx(\"tr\", {\n    parentName: \"tbody\"\n  }, mdx(\"td\", {\n    parentName: \"tr\",\n    \"align\": null\n  }, \"showRestTagsPopover\"), mdx(\"td\", {\n    parentName: \"tr\",\n    \"align\": null\n  }, \"When the number of tags exceeds maxTagCount and hover reaches +N, whether to display the remaining content through Popover\"), mdx(\"td\", {\n    parentName: \"tr\",\n    \"align\": null\n  }, \"boolean\"), mdx(\"td\", {\n    parentName: \"tr\",\n    \"align\": null\n  }, \"false\"), mdx(\"td\", {\n    parentName: \"tr\",\n    \"align\": null\n  }, \"2.22.0\")), mdx(\"tr\", {\n    parentName: \"tbody\"\n  }, mdx(\"td\", {\n    parentName: \"tr\",\n    \"align\": null\n  }, \"spacing\"), mdx(\"td\", {\n    parentName: \"tr\",\n    \"align\": null\n  }, \"Spacing between popup layer and trigger\"), mdx(\"td\", {\n    parentName: \"tr\",\n    \"align\": null\n  }, \"number\"), mdx(\"td\", {\n    parentName: \"tr\",\n    \"align\": null\n  }, \"4\"), mdx(\"td\", {\n    parentName: \"tr\",\n    \"align\": null\n  })), mdx(\"tr\", {\n    parentName: \"tbody\"\n  }, mdx(\"td\", {\n    parentName: \"tr\",\n    \"align\": null\n  }, \"stopPropagation\"), mdx(\"td\", {\n    parentName: \"tr\",\n    \"align\": null\n  }, \"Whether to prevent click events on the popup layer from bubbling\"), mdx(\"td\", {\n    parentName: \"tr\",\n    \"align\": null\n  }, \"boolean\"), mdx(\"td\", {\n    parentName: \"tr\",\n    \"align\": null\n  }, \"true\"), mdx(\"td\", {\n    parentName: \"tr\",\n    \"align\": null\n  })), mdx(\"tr\", {\n    parentName: \"tbody\"\n  }, mdx(\"td\", {\n    parentName: \"tr\",\n    \"align\": null\n  }, \"style\"), mdx(\"td\", {\n    parentName: \"tr\",\n    \"align\": null\n  }, \"Inline Style\"), mdx(\"td\", {\n    parentName: \"tr\",\n    \"align\": null\n  }, \"object\"), mdx(\"td\", {\n    parentName: \"tr\",\n    \"align\": null\n  }), mdx(\"td\", {\n    parentName: \"tr\",\n    \"align\": null\n  })), mdx(\"tr\", {\n    parentName: \"tbody\"\n  }, mdx(\"td\", {\n    parentName: \"tr\",\n    \"align\": null\n  }, \"suffix\"), mdx(\"td\", {\n    parentName: \"tr\",\n    \"align\": null\n  }, \"An input helper rendered after\"), mdx(\"td\", {\n    parentName: \"tr\",\n    \"align\": null\n  }, \"ReactNode\"), mdx(\"td\", {\n    parentName: \"tr\",\n    \"align\": null\n  }), mdx(\"td\", {\n    parentName: \"tr\",\n    \"align\": null\n  })), mdx(\"tr\", {\n    parentName: \"tbody\"\n  }, mdx(\"td\", {\n    parentName: \"tr\",\n    \"align\": null\n  }, \"triggerRender\"), mdx(\"td\", {\n    parentName: \"tr\",\n    \"align\": null\n  }, \"Custom DOM of trigger\"), mdx(\"td\", {\n    parentName: \"tr\",\n    \"align\": null\n  }, \"function\"), mdx(\"td\", {\n    parentName: \"tr\",\n    \"align\": null\n  }), mdx(\"td\", {\n    parentName: \"tr\",\n    \"align\": null\n  })), mdx(\"tr\", {\n    parentName: \"tbody\"\n  }, mdx(\"td\", {\n    parentName: \"tr\",\n    \"align\": null\n  }, \"virtualize\"), mdx(\"td\", {\n    parentName: \"tr\",\n    \"align\": null\n  }, \"List virtualization, used to optimize performance in the case of a large number of nodes, composed of height, width, and itemSize. \", mdx(\"strong\", {\n    parentName: \"td\"\n  }, \"Note: When height is greater than the default 270px, you need to set maxHeight to the same value\")), mdx(\"td\", {\n    parentName: \"tr\",\n    \"align\": null\n  }, \"object\"), mdx(\"td\", {\n    parentName: \"tr\",\n    \"align\": null\n  }), mdx(\"td\", {\n    parentName: \"tr\",\n    \"align\": null\n  })), mdx(\"tr\", {\n    parentName: \"tbody\"\n  }, mdx(\"td\", {\n    parentName: \"tr\",\n    \"align\": null\n  }, \"validateStatus\"), mdx(\"td\", {\n    parentName: \"tr\",\n    \"align\": null\n  }, \"Verification result, optional \", mdx(\"inlineCode\", {\n    parentName: \"td\"\n  }, \"warning\"), \", \", mdx(\"inlineCode\", {\n    parentName: \"td\"\n  }, \"error\"), \", \", mdx(\"inlineCode\", {\n    parentName: \"td\"\n  }, \"default\"), \" (only affect the style background color)\"), mdx(\"td\", {\n    parentName: \"tr\",\n    \"align\": null\n  }, \"string\"), mdx(\"td\", {\n    parentName: \"tr\",\n    \"align\": null\n  }, \"'default'\"), mdx(\"td\", {\n    parentName: \"tr\",\n    \"align\": null\n  })), mdx(\"tr\", {\n    parentName: \"tbody\"\n  }, mdx(\"td\", {\n    parentName: \"tr\",\n    \"align\": null\n  }, \"value\"), mdx(\"td\", {\n    parentName: \"tr\",\n    \"align\": null\n  }, \"The currently selected value is passed as a controlled component, used in conjunction with \", mdx(\"inlineCode\", {\n    parentName: \"td\"\n  }, \"onchange\")), mdx(\"td\", {\n    parentName: \"tr\",\n    \"align\": null\n  }, \"string\", \"|\", \"number\", \"|\", \"array\"), mdx(\"td\", {\n    parentName: \"tr\",\n    \"align\": null\n  }), mdx(\"td\", {\n    parentName: \"tr\",\n    \"align\": null\n  })), mdx(\"tr\", {\n    parentName: \"tbody\"\n  }, mdx(\"td\", {\n    parentName: \"tr\",\n    \"align\": null\n  }, \"zIndex\"), mdx(\"td\", {\n    parentName: \"tr\",\n    \"align\": null\n  }, \"Popup layer z-index\"), mdx(\"td\", {\n    parentName: \"tr\",\n    \"align\": null\n  }, \"number\"), mdx(\"td\", {\n    parentName: \"tr\",\n    \"align\": null\n  }, \"1030\"), mdx(\"td\", {\n    parentName: \"tr\",\n    \"align\": null\n  })), mdx(\"tr\", {\n    parentName: \"tbody\"\n  }, mdx(\"td\", {\n    parentName: \"tr\",\n    \"align\": null\n  }, \"onBlur\"), mdx(\"td\", {\n    parentName: \"tr\",\n    \"align\": null\n  }, \"Callback when blur\"), mdx(\"td\", {\n    parentName: \"tr\",\n    \"align\": null\n  }, \"function(event)\"), mdx(\"td\", {\n    parentName: \"tr\",\n    \"align\": null\n  }), mdx(\"td\", {\n    parentName: \"tr\",\n    \"align\": null\n  })), mdx(\"tr\", {\n    parentName: \"tbody\"\n  }, mdx(\"td\", {\n    parentName: \"tr\",\n    \"align\": null\n  }, \"onChange\"), mdx(\"td\", {\n    parentName: \"tr\",\n    \"align\": null\n  }, \"Callback function when selected option\"), mdx(\"td\", {\n    parentName: \"tr\",\n    \"align\": null\n  }, \"function (value)\"), mdx(\"td\", {\n    parentName: \"tr\",\n    \"align\": null\n  }), mdx(\"td\", {\n    parentName: \"tr\",\n    \"align\": null\n  })), mdx(\"tr\", {\n    parentName: \"tbody\"\n  }, mdx(\"td\", {\n    parentName: \"tr\",\n    \"align\": null\n  }, \"onChangeWithObject\"), mdx(\"td\", {\n    parentName: \"tr\",\n    \"align\": null\n  }, \"Whether to use the other properties of the selected option as a callback. When set to true, the entry type of onchange changes from string to object: {value, label,...rest}\"), mdx(\"td\", {\n    parentName: \"tr\",\n    \"align\": null\n  }, \"boolean\"), mdx(\"td\", {\n    parentName: \"tr\",\n    \"align\": null\n  }, \"false\"), mdx(\"td\", {\n    parentName: \"tr\",\n    \"align\": null\n  })), mdx(\"tr\", {\n    parentName: \"tbody\"\n  }, mdx(\"td\", {\n    parentName: \"tr\",\n    \"align\": null\n  }, \"onClear\"), mdx(\"td\", {\n    parentName: \"tr\",\n    \"align\": null\n  }, \"Callback when click clear icon\"), mdx(\"td\", {\n    parentName: \"tr\",\n    \"align\": null\n  }, \"function\"), mdx(\"td\", {\n    parentName: \"tr\",\n    \"align\": null\n  }), mdx(\"td\", {\n    parentName: \"tr\",\n    \"align\": null\n  })), mdx(\"tr\", {\n    parentName: \"tbody\"\n  }, mdx(\"td\", {\n    parentName: \"tr\",\n    \"align\": null\n  }, \"onCreate\"), mdx(\"td\", {\n    parentName: \"tr\",\n    \"align\": null\n  }, \"Allow Create is true and provides after the callback when creating the standby option\"), mdx(\"td\", {\n    parentName: \"tr\",\n    \"align\": null\n  }, \"function\"), mdx(\"td\", {\n    parentName: \"tr\",\n    \"align\": null\n  }), mdx(\"td\", {\n    parentName: \"tr\",\n    \"align\": null\n  })), mdx(\"tr\", {\n    parentName: \"tbody\"\n  }, mdx(\"td\", {\n    parentName: \"tr\",\n    \"align\": null\n  }, \"onDeselect\"), mdx(\"td\", {\n    parentName: \"tr\",\n    \"align\": null\n  }, \"Callback when selected cancel\"), mdx(\"td\", {\n    parentName: \"tr\",\n    \"align\": null\n  }, \"function (value, option)\"), mdx(\"td\", {\n    parentName: \"tr\",\n    \"align\": null\n  }), mdx(\"td\", {\n    parentName: \"tr\",\n    \"align\": null\n  })), mdx(\"tr\", {\n    parentName: \"tbody\"\n  }, mdx(\"td\", {\n    parentName: \"tr\",\n    \"align\": null\n  }, \"onDropdownVisibleChange\"), mdx(\"td\", {\n    parentName: \"tr\",\n    \"align\": null\n  }, \"A callback when the drop-down menu expands / collapsed\"), mdx(\"td\", {\n    parentName: \"tr\",\n    \"align\": null\n  }, \"function(visible: boolean)\"), mdx(\"td\", {\n    parentName: \"tr\",\n    \"align\": null\n  }), mdx(\"td\", {\n    parentName: \"tr\",\n    \"align\": null\n  })), mdx(\"tr\", {\n    parentName: \"tbody\"\n  }, mdx(\"td\", {\n    parentName: \"tr\",\n    \"align\": null\n  }, \"onExceed\"), mdx(\"td\", {\n    parentName: \"tr\",\n    \"align\": null\n  }, \"Callback invoked when the number of attempts to select exceeds the max limit, effective only at multi-selection\"), mdx(\"td\", {\n    parentName: \"tr\",\n    \"align\": null\n  }, \"function\"), mdx(\"td\", {\n    parentName: \"tr\",\n    \"align\": null\n  }), mdx(\"td\", {\n    parentName: \"tr\",\n    \"align\": null\n  })), mdx(\"tr\", {\n    parentName: \"tbody\"\n  }, mdx(\"td\", {\n    parentName: \"tr\",\n    \"align\": null\n  }, \"onFocus\"), mdx(\"td\", {\n    parentName: \"tr\",\n    \"align\": null\n  }, \"Callback when focus select\"), mdx(\"td\", {\n    parentName: \"tr\",\n    \"align\": null\n  }, \"function(event)\"), mdx(\"td\", {\n    parentName: \"tr\",\n    \"align\": null\n  }), mdx(\"td\", {\n    parentName: \"tr\",\n    \"align\": null\n  })), mdx(\"tr\", {\n    parentName: \"tbody\"\n  }, mdx(\"td\", {\n    parentName: \"tr\",\n    \"align\": null\n  }, \"onSearch\"), mdx(\"td\", {\n    parentName: \"tr\",\n    \"align\": null\n  }, \"The callback function when the content of the input box changes. The second parameter is available after v2.31\"), mdx(\"td\", {\n    parentName: \"tr\",\n    \"align\": null\n  }, \"function(sugInput: string, e: ReactEvent)\"), mdx(\"td\", {\n    parentName: \"tr\",\n    \"align\": null\n  }), mdx(\"td\", {\n    parentName: \"tr\",\n    \"align\": null\n  })), mdx(\"tr\", {\n    parentName: \"tbody\"\n  }, mdx(\"td\", {\n    parentName: \"tr\",\n    \"align\": null\n  }, \"onSelect\"), mdx(\"td\", {\n    parentName: \"tr\",\n    \"align\": null\n  }, \"Callback when selected\"), mdx(\"td\", {\n    parentName: \"tr\",\n    \"align\": null\n  }, \"function (value, option)\"), mdx(\"td\", {\n    parentName: \"tr\",\n    \"align\": null\n  }), mdx(\"td\", {\n    parentName: \"tr\",\n    \"align\": null\n  })))), mdx(\"h3\", {\n    parentName: \"section\"\n  }, \"Option Props\"), mdx(\"blockquote\", {\n    parentName: \"section\"\n  }, mdx(\"p\", {\n    parentName: \"blockquote\"\n  }, mdx(\"strong\", {\n    parentName: \"p\"\n  }, \"The label of different Option must be unique\"), \" . Value allows repetition\")), mdx(\"table\", {\n    parentName: \"section\"\n  }, mdx(\"thead\", {\n    parentName: \"table\"\n  }, mdx(\"tr\", {\n    parentName: \"thead\"\n  }, mdx(\"th\", {\n    parentName: \"tr\",\n    \"align\": null\n  }, \"Properties\"), mdx(\"th\", {\n    parentName: \"tr\",\n    \"align\": null\n  }, \"Instructions\"), mdx(\"th\", {\n    parentName: \"tr\",\n    \"align\": null\n  }, \"Type\"), mdx(\"th\", {\n    parentName: \"tr\",\n    \"align\": null\n  }, \"Default\"))), mdx(\"tbody\", {\n    parentName: \"table\"\n  }, mdx(\"tr\", {\n    parentName: \"tbody\"\n  }, mdx(\"td\", {\n    parentName: \"tr\",\n    \"align\": null\n  }, \"className\"), mdx(\"td\", {\n    parentName: \"tr\",\n    \"align\": null\n  }, \"The CSS class name of the wrapper element\"), mdx(\"td\", {\n    parentName: \"tr\",\n    \"align\": null\n  }, \"string\"), mdx(\"td\", {\n    parentName: \"tr\",\n    \"align\": null\n  })), mdx(\"tr\", {\n    parentName: \"tbody\"\n  }, mdx(\"td\", {\n    parentName: \"tr\",\n    \"align\": null\n  }, \"disabled\"), mdx(\"td\", {\n    parentName: \"tr\",\n    \"align\": null\n  }, \"Disabled\"), mdx(\"td\", {\n    parentName: \"tr\",\n    \"align\": null\n  }, \"boolean\"), mdx(\"td\", {\n    parentName: \"tr\",\n    \"align\": null\n  }, \"false\")), mdx(\"tr\", {\n    parentName: \"tbody\"\n  }, mdx(\"td\", {\n    parentName: \"tr\",\n    \"align\": null\n  }, \"label\"), mdx(\"td\", {\n    parentName: \"tr\",\n    \"align\": null\n  }, \"Text displayed. Prioritize the label when rendering, take the child, value if not, and downgrade in turn\"), mdx(\"td\", {\n    parentName: \"tr\",\n    \"align\": null\n  }, \"string\", \"|\", \"ReactNode\"), mdx(\"td\", {\n    parentName: \"tr\",\n    \"align\": null\n  })), mdx(\"tr\", {\n    parentName: \"tbody\"\n  }, mdx(\"td\", {\n    parentName: \"tr\",\n    \"align\": null\n  }, \"showTick\"), mdx(\"td\", {\n    parentName: \"tr\",\n    \"align\": null\n  }, \"Whether to show the Icon of tick when option selected\"), mdx(\"td\", {\n    parentName: \"tr\",\n    \"align\": null\n  }, \"boolean\"), mdx(\"td\", {\n    parentName: \"tr\",\n    \"align\": null\n  }, \"true\")), mdx(\"tr\", {\n    parentName: \"tbody\"\n  }, mdx(\"td\", {\n    parentName: \"tr\",\n    \"align\": null\n  }, \"style\"), mdx(\"td\", {\n    parentName: \"tr\",\n    \"align\": null\n  }, \"Inline Style\"), mdx(\"td\", {\n    parentName: \"tr\",\n    \"align\": null\n  }, \"object\"), mdx(\"td\", {\n    parentName: \"tr\",\n    \"align\": null\n  })), mdx(\"tr\", {\n    parentName: \"tbody\"\n  }, mdx(\"td\", {\n    parentName: \"tr\",\n    \"align\": null\n  }, \"value\"), mdx(\"td\", {\n    parentName: \"tr\",\n    \"align\": null\n  }, \"Property value\"), mdx(\"td\", {\n    parentName: \"tr\",\n    \"align\": null\n  }, \"string\", \"|\", \"number\"), mdx(\"td\", {\n    parentName: \"tr\",\n    \"align\": null\n  })))), mdx(\"h3\", {\n    parentName: \"section\"\n  }, \"OptGroup Props\"), mdx(\"table\", {\n    parentName: \"section\"\n  }, mdx(\"thead\", {\n    parentName: \"table\"\n  }, mdx(\"tr\", {\n    parentName: \"thead\"\n  }, mdx(\"th\", {\n    parentName: \"tr\",\n    \"align\": null\n  }, \"Properties\"), mdx(\"th\", {\n    parentName: \"tr\",\n    \"align\": null\n  }, \"Instructions\"), mdx(\"th\", {\n    parentName: \"tr\",\n    \"align\": null\n  }, \"Type\"))), mdx(\"tbody\", {\n    parentName: \"table\"\n  }, mdx(\"tr\", {\n    parentName: \"tbody\"\n  }, mdx(\"td\", {\n    parentName: \"tr\",\n    \"align\": null\n  }, \"className\"), mdx(\"td\", {\n    parentName: \"tr\",\n    \"align\": null\n  }, \"The CSS class name\"), mdx(\"td\", {\n    parentName: \"tr\",\n    \"align\": null\n  }, \"string\")), mdx(\"tr\", {\n    parentName: \"tbody\"\n  }, mdx(\"td\", {\n    parentName: \"tr\",\n    \"align\": null\n  }, \"label\"), mdx(\"td\", {\n    parentName: \"tr\",\n    \"align\": null\n  }, \"Text displayed.\"), mdx(\"td\", {\n    parentName: \"tr\",\n    \"align\": null\n  }, \"ReactNode\")), mdx(\"tr\", {\n    parentName: \"tbody\"\n  }, mdx(\"td\", {\n    parentName: \"tr\",\n    \"align\": null\n  }, \"style\"), mdx(\"td\", {\n    parentName: \"tr\",\n    \"align\": null\n  }, \"Inline Style\"), mdx(\"td\", {\n    parentName: \"tr\",\n    \"align\": null\n  }, \"object\"))))), mdx(\"section\", null, mdx(\"h2\", {\n    parentName: \"section\"\n  }, \"Methods\"), mdx(\"p\", {\n    parentName: \"section\"\n  }, \"Some internal methods provided by Select can be accessed through ref:\"), mdx(\"table\", {\n    parentName: \"section\"\n  }, mdx(\"thead\", {\n    parentName: \"table\"\n  }, mdx(\"tr\", {\n    parentName: \"thead\"\n  }, mdx(\"th\", {\n    parentName: \"tr\",\n    \"align\": null\n  }, \"Method\"), mdx(\"th\", {\n    parentName: \"tr\",\n    \"align\": null\n  }, \"Instructions\"), mdx(\"th\", {\n    parentName: \"tr\",\n    \"align\": null\n  }, \"Version\"))), mdx(\"tbody\", {\n    parentName: \"table\"\n  }, mdx(\"tr\", {\n    parentName: \"tbody\"\n  }, mdx(\"td\", {\n    parentName: \"tr\",\n    \"align\": null\n  }, \"close\"), mdx(\"td\", {\n    parentName: \"tr\",\n    \"align\": null\n  }, \"Manually close dropdown list\"), mdx(\"td\", {\n    parentName: \"tr\",\n    \"align\": null\n  })), mdx(\"tr\", {\n    parentName: \"tbody\"\n  }, mdx(\"td\", {\n    parentName: \"tr\",\n    \"align\": null\n  }, \"clearInput\"), mdx(\"td\", {\n    parentName: \"tr\",\n    \"align\": null\n  }, \"Manually clear value of input\"), mdx(\"td\", {\n    parentName: \"tr\",\n    \"align\": null\n  })), mdx(\"tr\", {\n    parentName: \"tbody\"\n  }, mdx(\"td\", {\n    parentName: \"tr\",\n    \"align\": null\n  }, \"deselectAll\"), mdx(\"td\", {\n    parentName: \"tr\",\n    \"align\": null\n  }, \"Manually clear selected options\"), mdx(\"td\", {\n    parentName: \"tr\",\n    \"align\": null\n  })), mdx(\"tr\", {\n    parentName: \"tbody\"\n  }, mdx(\"td\", {\n    parentName: \"tr\",\n    \"align\": null\n  }, \"focus\"), mdx(\"td\", {\n    parentName: \"tr\",\n    \"align\": null\n  }, \"Manually focus select\"), mdx(\"td\", {\n    parentName: \"tr\",\n    \"align\": null\n  })), mdx(\"tr\", {\n    parentName: \"tbody\"\n  }, mdx(\"td\", {\n    parentName: \"tr\",\n    \"align\": null\n  }, \"open\"), mdx(\"td\", {\n    parentName: \"tr\",\n    \"align\": null\n  }, \"Manually open dropdown list\"), mdx(\"td\", {\n    parentName: \"tr\",\n    \"align\": null\n  })), mdx(\"tr\", {\n    parentName: \"tbody\"\n  }, mdx(\"td\", {\n    parentName: \"tr\",\n    \"align\": null\n  }, \"selectAll\"), mdx(\"td\", {\n    parentName: \"tr\",\n    \"align\": null\n  }, \"Manually select all options\"), mdx(\"td\", {\n    parentName: \"tr\",\n    \"align\": null\n  })), mdx(\"tr\", {\n    parentName: \"tbody\"\n  }, mdx(\"td\", {\n    parentName: \"tr\",\n    \"align\": null\n  }, \"search(value: string, event: event)\"), mdx(\"td\", {\n    parentName: \"tr\",\n    \"align\": null\n  }, \"You can call this method through ref to search, and the search value will be set to Input\"), mdx(\"td\", {\n    parentName: \"tr\",\n    \"align\": null\n  }, \"v2.35.0\")), mdx(\"tr\", {\n    parentName: \"tbody\"\n  }, mdx(\"td\", {\n    parentName: \"tr\",\n    \"align\": null\n  }, \"rePosition\"), mdx(\"td\", {\n    parentName: \"tr\",\n    \"align\": null\n  }, \"Manually trigger the repositioning of the dropdown layer\"), mdx(\"td\", {\n    parentName: \"tr\",\n    \"align\": null\n  }))))), mdx(\"section\", null, mdx(\"h2\", {\n    parentName: \"section\"\n  }, \"Accessibility\"), mdx(\"h3\", {\n    parentName: \"section\"\n  }, \"ARIA\"), mdx(\"ul\", {\n    parentName: \"section\"\n  }, mdx(\"li\", {\n    parentName: \"ul\"\n  }, \"The role of the Select trigger is combobox, the role of the popup layer is listbox, and the role of the option is option\"), mdx(\"li\", {\n    parentName: \"ul\"\n  }, \"Select trigger has aria-haspopup, aria-expanded, and aria-controls properties, indicating the relationship between trigger and popup layer\"), mdx(\"li\", {\n    parentName: \"ul\"\n  }, \"When multiple selections are made, listbox aria-multiselectable is true, indicating that multiple selections are currently available\"), mdx(\"li\", {\n    parentName: \"ul\"\n  }, \"aria-selected is true when Option is selected; aria-disabled is true when Option is disabled\"), mdx(\"li\", {\n    parentName: \"ul\"\n  }, \"The attribute aria-activedescendant ensures that the currently selected option is recognized when the narration is spoken(for more information, please refer to \", mdx(\"a\", {\n    parentName: \"li\",\n    \"href\": \"https://www.w3.org/WAI/ARIA/apg/practices/keyboard-interface/#kbd_focus_activedescendant\"\n  }, \"Managing Focus in Composites Using aria-activedescendant\"), \")\")), mdx(\"h3\", {\n    parentName: \"section\"\n  }, \"Keyboard and Focus\"), mdx(\"p\", {\n    parentName: \"section\"\n  }, mdx(\"strong\", {\n    parentName: \"p\"\n  }, \"Select without Filter:\")), mdx(\"ul\", {\n    parentName: \"section\"\n  }, mdx(\"li\", {\n    parentName: \"ul\"\n  }, \"After Select is focused, keyboard users can open the dropdown menu with the \", mdx(\"inlineCode\", {\n    parentName: \"li\"\n  }, \"Up Arrow\"), \" or \", mdx(\"inlineCode\", {\n    parentName: \"li\"\n  }, \"Down Arrow\"), \" or \", mdx(\"inlineCode\", {\n    parentName: \"li\"\n  }, \"Enter\"), \" keys and automatically focus on the first option in the dropdown menu (\", mdx(\"inlineCode\", {\n    parentName: \"li\"\n  }, \"defaultActiveFirstOption\"), \" defaults to true)\"), mdx(\"li\", {\n    parentName: \"ul\"\n  }, \"When the dropdown menu is open:\", mdx(\"ul\", {\n    parentName: \"li\"\n  }, mdx(\"li\", {\n    parentName: \"ul\"\n  }, \"Use \", mdx(\"inlineCode\", {\n    parentName: \"li\"\n  }, \"Esc\"), \" key or \", mdx(\"inlineCode\", {\n    parentName: \"li\"\n  }, \"Tab\"), \" key to close the menu\"), mdx(\"li\", {\n    parentName: \"ul\"\n  }, \"Use \", mdx(\"inlineCode\", {\n    parentName: \"li\"\n  }, \"Up Arrow\"), \" or \", mdx(\"inlineCode\", {\n    parentName: \"li\"\n  }, \"Down Arrow\"), \" to toggle options\"), mdx(\"li\", {\n    parentName: \"ul\"\n  }, \"The focused option can be selected with the Enter key and the panel is collapsed\"))), mdx(\"li\", {\n    parentName: \"ul\"\n  }, \"When the focus is on the dropdown menu and the user uses an \", mdx(\"inlineCode\", {\n    parentName: \"li\"\n  }, \"innerBottomSlot\"), \" or \", mdx(\"inlineCode\", {\n    parentName: \"li\"\n  }, \"outerBottomSlot\"), \" attribute with a custom slot with an interactive element:\", mdx(\"ul\", {\n    parentName: \"li\"\n  }, mdx(\"li\", {\n    parentName: \"ul\"\n  }, \"You can use the \", mdx(\"inlineCode\", {\n    parentName: \"li\"\n  }, \"Tab\"), \" key to switch to these interactive elements\"), mdx(\"li\", {\n    parentName: \"ul\"\n  }, \"When the focus is on the first interactive element of the custom slot, use \", mdx(\"inlineCode\", {\n    parentName: \"li\"\n  }, \"Shift\"), \" + \", mdx(\"inlineCode\", {\n    parentName: \"li\"\n  }, \"Tab\"), \" to return the focus to the Select box\")))), mdx(\"p\", {\n    parentName: \"section\"\n  }, mdx(\"strong\", {\n    parentName: \"p\"\n  }, \"Select with Filter function:\")), mdx(\"ul\", {\n    parentName: \"section\"\n  }, mdx(\"li\", {\n    parentName: \"ul\"\n  }, \"When Select is focused, keyboard users can open dropdown menus with \", mdx(\"inlineCode\", {\n    parentName: \"li\"\n  }, \"Up Arrow\"), \" or \", mdx(\"inlineCode\", {\n    parentName: \"li\"\n  }, \"Down Arrow\"), \" or \", mdx(\"inlineCode\", {\n    parentName: \"li\"\n  }, \"Enter\"), \" keys. At this point, the focus is still on the Select box, the user can enter content, and can also use the \", mdx(\"inlineCode\", {\n    parentName: \"li\"\n  }, \"up arrow\"), \" or \", mdx(\"inlineCode\", {\n    parentName: \"li\"\n  }, \"down arrow\"), \" to switch options\"), mdx(\"li\", {\n    parentName: \"ul\"\n  }, \"When the dropdown menu is open: the keyboard interaction is the same as Select without the Filter function\"), mdx(\"li\", {\n    parentName: \"ul\"\n  }, \"When the focus is on the Select box, and the user uses an \", mdx(\"inlineCode\", {\n    parentName: \"li\"\n  }, \"innerBottomSlot\"), \" or \", mdx(\"inlineCode\", {\n    parentName: \"li\"\n  }, \"outerBottomSlot\"), \" property with a custom slot with an interactive element:\", mdx(\"ul\", {\n    parentName: \"li\"\n  }, mdx(\"li\", {\n    parentName: \"ul\"\n  }, \"You can use the \", mdx(\"inlineCode\", {\n    parentName: \"li\"\n  }, \"Tab\"), \" key to switch to these interactive elements\"), mdx(\"li\", {\n    parentName: \"ul\"\n  }, \"When the focus is on the first interactive element of the custom slot, use \", mdx(\"inlineCode\", {\n    parentName: \"li\"\n  }, \"Shift\"), \" + \", mdx(\"inlineCode\", {\n    parentName: \"li\"\n  }, \"Tab\"), \" to return the focus to the Select box\"))))), mdx(\"section\", null, mdx(\"h2\", {\n    parentName: \"section\"\n  }, \"Content Guidelines\"), mdx(\"ul\", {\n    parentName: \"section\"\n  }, mdx(\"li\", {\n    parentName: \"ul\"\n  }, \"Selector trigger\", mdx(\"ul\", {\n    parentName: \"li\"\n  }, mdx(\"li\", {\n    parentName: \"ul\"\n  }, \"Describe in 1-3 words the input that the user needs to make\"), mdx(\"li\", {\n    parentName: \"ul\"\n  }, \"Use statement writing conventions (first letter uppercase, rest lowercase)\"), mdx(\"li\", {\n    parentName: \"ul\"\n  }, \"Avoid punctuation and prepositions (\\\"the\\\", \\\"an\\\", \\\"a\\\")\"), mdx(\"li\", {\n    parentName: \"ul\"\n  }, \"Labels need to be independent statements. Don't let the label be the first half of the statement and the option the second half of the statement.\"), mdx(\"li\", {\n    parentName: \"ul\"\n  }, \"Use descriptive sentences, not indicative ones. Help text is available under the select box if the option needs more explanation.\"))), mdx(\"li\", {\n    parentName: \"ul\"\n  }, \"Selector options\", mdx(\"ul\", {\n    parentName: \"li\"\n  }, mdx(\"li\", {\n    parentName: \"ul\"\n  }, \"If there is no default option, use \\\"Select\\\" as placeholder copy\"), mdx(\"li\", {\n    parentName: \"ul\"\n  }, \"Options should be in alphabetical order or other logical order to make it easier for users to find options\"), mdx(\"li\", {\n    parentName: \"ul\"\n  }, \"Use statement writing conventions (first letter uppercase, rest lowercase), avoid commas and semicolons at the end of sentences\"), mdx(\"li\", {\n    parentName: \"ul\"\n  }, \"Clearly articulate the purpose of the choice indicated by the option\"))))), mdx(\"section\", null, mdx(\"h2\", {\n    parentName: \"section\"\n  }, \"Design Tokens\"), mdx(DesignToken, {\n    mdxType: \"DesignToken\"\n  })), mdx(\"section\", null, mdx(\"h2\", {\n    parentName: \"section\"\n  }, \"Related Material\"), mdx(\"p\", {\n    parentName: \"section\"\n  }, mdx(\"semi-material-list\", {\n    code: \"3, 4, 58, 62, 696\"\n  }))), mdx(\"section\", null, mdx(\"h2\", {\n    parentName: \"section\"\n  }, \"TypeScript Generic Support\"), mdx(\"p\", {\n    parentName: \"section\"\n  }, \"The \", mdx(\"inlineCode\", {\n    parentName: \"p\"\n  }, \"Select\"), \" component supports constraining the \", mdx(\"inlineCode\", {\n    parentName: \"p\"\n  }, \"value\"), \" type through a generic parameter, providing better type inference.\"), mdx(\"pre\", {\n    parentName: \"section\"\n  }, mdx(\"code\", {\n    parentName: \"pre\",\n    \"className\": \"language-jsx\"\n  }, \"import { Select } from '@douyinfe/semi-ui';\\n\\n// Specify value as string type\\n<Select<string>\\n    value={selectedValue}\\n    onChange={(value) => {\\n        // value type is string | string[] | undefined\\n        setSelectedValue(value);\\n    }}\\n>\\n    <Select.Option value=\\\"option1\\\">Option 1</Select.Option>\\n    <Select.Option value=\\\"option2\\\">Option 2</Select.Option>\\n</Select>\\n\\n// In multiple mode, value type is string[]\\n<Select<string>\\n    multiple\\n    value={selectedValues}\\n    onChange={(value) => {\\n        // value type is string | string[] | undefined, since multiple is true, it's actually string[]\\n        setSelectedValues(value as string[]);\\n    }}\\n>\\n    <Select.Option value=\\\"option1\\\">Option 1</Select.Option>\\n    <Select.Option value=\\\"option2\\\">Option 2</Select.Option>\\n</Select>\\n\")), mdx(\"p\", {\n    parentName: \"section\"\n  }, \"With the generic parameter, you can get more precise type inference without manual type conversion.\")), mdx(\"section\", null, mdx(\"h2\", {\n    parentName: \"section\"\n  }, \"FAQ\"), mdx(\"ul\", {\n    parentName: \"section\"\n  }, mdx(\"li\", {\n    parentName: \"ul\"\n  }, mdx(\"p\", {\n    parentName: \"li\"\n  }, mdx(\"strong\", {\n    parentName: \"p\"\n  }, \"Searchable Select, using remote data to dynamically update the \", mdx(\"inlineCode\", {\n    parentName: \"strong\"\n  }, \"optionList\"), \", why sometimes there is no data before the asynchronous request is completed?\\uFF1F\"), mdx(\"br\", {\n    parentName: \"p\"\n  }), \"\\n\", \"Please check whether \", mdx(\"inlineCode\", {\n    parentName: \"p\"\n  }, \"remote={true}\"), \" is set. If remote is not set, the input value of the input box will be compared with the current optionList by default. If there is no match, no data will be displayed.\", mdx(\"br\", {\n    parentName: \"p\"\n  }), \"\\n\", \"You can turn off matching filtering on the current local data by setting remote to true.\")), mdx(\"li\", {\n    parentName: \"ul\"\n  }, mdx(\"p\", {\n    parentName: \"li\"\n  }, mdx(\"strong\", {\n    parentName: \"p\"\n  }, \"Use jsx to declare Option, label is the content after i18n, fail to re-render after switching locale\"), \" When the children jsx method declares Options, because it is ReactNode, it is impossible to use deepEqual to compare whether the content is updated (excessive performance consumption), so the key of children ReactNode will be collected. When the key is unchanged, it is considered that Options have not occurred. Changes will not go through the process of re-collecting data. You can also use locale as part of the Option key.\", mdx(\"br\", {\n    parentName: \"p\"\n  }), \"\\n\", \"The problem can also be solved by using \", mdx(\"inlineCode\", {\n    parentName: \"p\"\n  }, \"optionList\"), \" to pass in. Because the key is relatively limited for the object form, isEqual is used inside Select to determine whether there is a change\")), mdx(\"li\", {\n    parentName: \"ul\"\n  }, mdx(\"p\", {\n    parentName: \"li\"\n  }, mdx(\"strong\", {\n    parentName: \"p\"\n  }, \"Use jsx to declare Option, and fail to re-render after dynamically switching the disabled attribute\"), mdx(\"br\", {\n    parentName: \"p\"\n  }), \"\\n\", \"The reason is the same as above, you can set a different key value for Option again, or use optionList to declare candidate options\")), mdx(\"li\", {\n    parentName: \"ul\"\n  }, mdx(\"p\", {\n    parentName: \"li\"\n  }, mdx(\"strong\", {\n    parentName: \"p\"\n  }, \"Will Select automatically limit the width of the drop-down menu?\"), mdx(\"br\", {\n    parentName: \"p\"\n  }), \"\\n\", \"MinWidth will be given, but width will not be written dead. If necessary, you can add it yourself through dropdownStyle.\")), mdx(\"li\", {\n    parentName: \"ul\"\n  }, mdx(\"p\", {\n    parentName: \"li\"\n  }, mdx(\"strong\", {\n    parentName: \"p\"\n  }, \"After setting allowCreate, dynamically updating optionList or children does not take effect\")), mdx(\"p\", {\n    parentName: \"li\"\n  }, \"allowCreate is mainly used for locally created scenarios. When this item is turned on, it is equivalent to forcibly taking over optionList/children, and will no longer respond to external updates to these two types of values. Otherwise, how the currently created options are combined with the latest props.optionList, and whether the strategy is overwritten or merged depends largely on the business scenario logic, and it is inappropriate to force presets by the component layer.\")), mdx(\"li\", {\n    parentName: \"ul\"\n  }, mdx(\"p\", {\n    parentName: \"li\"\n  }, mdx(\"strong\", {\n    parentName: \"p\"\n  }, \"Why Semi's Select requires that the label must be unique, but not the value?\")), mdx(\"pre\", {\n    parentName: \"li\"\n  }, mdx(\"code\", {\n    parentName: \"pre\"\n  }, \"First of all, we must need a unique identifier to make a selection judgment. For almost all UI libraries, when using Select.Option, the minimum requirements will only require the two values of label and value to be passed in, instead of requiring a separate key (too cumbersome). Semi continues this setting.\\nSo why is label instead of value in semi's select?\\nThe label of the option is what the user perceives. From an interactive point of view, if there are two options that are exactly the same on the display, to the user\\u2019s perception, they look the same and cannot be distinguished, but the selected effects are different (for example, one value is 0, the other As 1), it is unreasonable. (Users' first reaction is often repeated, and there may be a bug)\\n\")), mdx(\"p\", {\n    parentName: \"li\"\n  }, \"Unique label and repeated value are more common in daily use. For example, a selector that selects the company id based on the app name, value is the company id corresponding to the app, and label is the name of the app. We don't recommend showing the user a duplicate label option, but if you're sure you need to, you can bypass this restriction when you pass a ReactNode type to the label.\")), mdx(\"li\", {\n    parentName: \"ul\"\n  }, mdx(\"p\", {\n    parentName: \"li\"\n  }, mdx(\"strong\", {\n    parentName: \"p\"\n  }, \"Why is the blur event not fired after a radio selection option?\")), mdx(\"p\", {\n    parentName: \"li\"\n  }, \"Before V2.17.0, after Select radio is selected, the blur event of Select will be triggered. After V2.17.0, Select has added A11y support, which will not trigger Select's blur event. In single-selection selection, the Select floating layer is closed, and the focus is still on the trigger (at this time, the Select floating layer can be opened again by pressing the Enter key) No matter single selection or multiple selection, press Esc, only the Select floating layer is closed, and the trigger keeps the focus (the Select floating layer can be opened again by pressing the Enter key at this time)\")))));\n}\n;\nMDXContent.isMDXComponent = true;"}},"pageContext":{"slug":"en-US/input/select","next":{"fields":{"slug":"zh-CN/input/select"},"id":"6fd09fce-92a6-51da-aff5-fd4fe19151a2","frontmatter":{"title":"Select 选择器","localeCode":"zh-CN","icon":"doc-select","showNew":null}},"previous":{"fields":{"slug":"zh-CN/input/rating"},"id":"67e79714-725a-5bc0-a77e-80cd1353d46a","frontmatter":{"title":"Rating 评分","localeCode":"zh-CN","icon":"doc-rating","showNew":null}}}},"staticQueryHashes":["1348983216108720","1477422646108720","3245198693108720","417590761108720","63159454108720"]}