跳到主要内容

eo-cascader

<eo-cascader>
Alias: <advanced.general-cascader>

级联选择器

Examples

Basic

Playground

With Form

Playground

Properties

NameDescriptionTypeDefaultRequired
namestring
labelstring
requiredboolean
optionsAntdCascaderProps["options"]
fieldNamesAntdCascaderProps["fieldNames"] { label: "label", value: "value", children: "children", }
valueAntdCascaderProps["value"]
placeholderstring
multipleboolean
disabledboolean
allowClearboolean true
showSearchboolean true
suffixIconGeneralIconProps
expandTriggerAntdCascaderProps["expandTrigger"] "click"
popupPlacementAntdCascaderProps["placement"] "bottomLeft"
sizeAntdCascaderProps["size"]
limitnumber 50
maxTagCountnumber | "responsive"
cascaderStyleCSSProperties

Events

NameDescriptionEvent Detail
cascader.change{ value: AntdCascaderProps["value"]; selectedOptions: DefaultOptionType[] | DefaultOptionType[][] } - { value: AntdCascaderProps["value"], selectedOptions: DefaultOptionType[] | DefaultOptionType[][] }