We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
No response
import React from 'react'; import { Cascader } from '@douyinfe/semi-ui'; () => { const [value, setValue] = useState(['zhejiang', 'ningbo', 'haishu']); const onChange = (val) => { setValue(val); }; const treeData = [ { label: '浙江省', value: 'zhejiang', children: [ { label: '杭州市', value: 'hangzhou', children: [ { label: '西湖区', value: 'xihu', }, { label: '萧山区', value: 'xiaoshan', }, { label: '临安区', value: 'linan', }, ], }, { label: '宁波市', value: 'ningbo', children: [ { label: '海曙区', value: 'haishu', }, { label: '江北区', value: 'jiangbei', } ] }, ], } ]; return ( <Cascader style={{ width: 300 }} treeData={treeData} placeholder="请选择所在地区" motion={false} value={value} multiple filterTreeNode onChange={e => onChange(e)} /> ); };
- OS: - browser:
The text was updated successfully, but these errors were encountered:
这个问题不仅存在在多选中,单选也是
Sorry, something went wrong.
@douyinfe/semi-ui@2.22.0-beta.1已修复
YyumeiZhang
No branches or pull requests
Is there an existing issue for this?
Which Component
No response
Semi Version
No response
Current Behavior
No response
Expected Behavior
No response
Steps To Reproduce
20221019-140721.mp4
ReproducibleCode
Environment
Anything else?
No response
The text was updated successfully, but these errors were encountered: