opinion
Cascader
Pick a value through levels, one Select per level.
Project, then taskChoosing a project fills the second Select
In context
Move a taskSend “Icon audit” to another project
Move “Icon audit”
Currently in Harbour rebrand, To do.
Props
| Prop | Type | Required | Default |
|---|---|---|---|
options | CascaderOption[] | Yes | — |
value | string[] | undefined | No | — |
defaultValue | string[] | undefined | No | [] |
onValueChange | ((path: string[], labels: string[]) => void) | undefined | No | — |
placeholder | string | undefined | No | — |
aria-label | string | undefined | No | — |
disabled | boolean | undefined | No | — |
className | string | undefined | No | — |
data-rebar-* attributes
data-rebar-component="cascader" on the wrapping row of Selects.
Migrating to Ant Design
Not codemod-covered — AntD's Cascader renders as a single dropdown with inline panels, a materially different interaction from this component's row of separate Selects, so this is a rebuild, not a rename.