跳到主要内容

eo-tree-select

<eo-tree-select>

构件 eo-tree-select

Examples

Basic

Playground

With Form

Playground

Properties

NameDescriptionTypeDefaultRequired
namestring
labelstring
requiredboolean
treeDataAntdTreeSelectProps["treeData"]
treeDefaultExpandAllboolean
treeExpandedKeysstring[]
fieldNamesAntdTreeSelectProps["fieldNames"]
valueAntdTreeSelectProps["value"]
placeholderstring
multipleboolean
disabledboolean
checkableboolean
allowClearboolean true
loadingboolean false
filterTreeNodeAntdTreeSelectProps["filterTreeNode"]
showSearchboolean true
suffixIconGeneralIconProps
popupPlacementAntdTreeSelectProps["placement"] "bottomLeft"
sizeAntdTreeSelectProps["size"]
maxTagCountnumber | "responsive"
dropdownStyleCSSProperties

Events

NameDescriptionEvent Detail
change{ value: AntdTreeSelectProps["value"] } - { value: AntdTreeSelectProps["value"], selectedOptions: DefaultOptionType[] | DefaultOptionType[][] }
searchstring
select{ value: AntdTreeSelectProps["value"] }
expand{ keys: React.Key[] }