Cascader
Choose a value through a hierarchy of options.
Examples
A selection is committed at a leaf option. onChange supplies both the path and its options. Named fields submit a JSON array string. Use arrow keys to navigate levels, Enter to choose and Escape to close.
Live previewInteractive example
basic.tsx
Live previewInteractive example
Selected path:zhejiang → hangzhou → xihu
controlled.tsx
Cascader API
CascaderOption
Types
Import CascaderProps to describe component props. Option types in the API table link to their detailed fields above.
Forms and localization
Use name to include values in FormData. Uncontrolled fields follow form reset; reset controlled values in application state. Place controls in FormField for labels, help and errors. ConfigProvider supplies regional themes and translated built-in UI. Application labels and options are your responsibility.