cascader
cascader copied to clipboard
cascade select in one box
This is the default behaviour for components in React, and will allow `null` as a child (which is the result when typing ``).
[//]: # (dependabot-start) ⚠️ **Dependabot Preview has been deactivated** ⚠️ This pull request was created by Dependabot Preview, and you've upgraded to Dependabot. This means it won't respond to `dependabot`...
[//]: # (dependabot-start) ⚠️ **Dependabot Preview has been deactivated** ⚠️ This pull request was created by Dependabot Preview, and you've upgraded to Dependabot. This means it won't respond to `dependabot`...
[//]: # (dependabot-start) ⚠️ **Dependabot Preview has been deactivated** ⚠️ This pull request was created by Dependabot Preview, and you've upgraded to Dependabot. This means it won't respond to `dependabot`...
[//]: # (dependabot-start) ⚠️ **Dependabot Preview has been deactivated** ⚠️ This pull request was created by Dependabot Preview, and you've upgraded to Dependabot. This means it won't respond to `dependabot`...
[//]: # (dependabot-start) ⚠️ **Dependabot Preview has been deactivated** ⚠️ This pull request was created by Dependabot Preview, and you've upgraded to Dependabot. This means it won't respond to `dependabot`...
[//]: # (dependabot-start) ⚠️ **Dependabot Preview has been deactivated** ⚠️ This pull request was created by Dependabot Preview, and you've upgraded to Dependabot. This means it won't respond to `dependabot`...
一个测试性的ASOC提交QuQ... 现在重构的思路是: - 把原来的 Menu.tsx(Cascader的poplist框)放进去了 `OptionList.tsx` 来作为 generate 所需要的 OptionList - 然后使用 `select`里面的 generate 来生成列表(目前还没有这么处理是因为参数多且混乱...有点不好整理) 目前这个版本因为参数 `props` 太多有点不好打理 以及参考 tree-select 的[提交](https://github.com/react-component/tree-select/pull/197/files) 和 select 的[提交](https://github.com/react-component/select/pull/420/files) 感觉参数有点复杂和自己研究很久没有进展... 先做出了一部分修改(并没有对原文件做出删除操作)...
a -> b ->c [] c的children是一个空数组 a - b 选中以后 当你下次再打开的时候 会把空的c也直接回显出来 这个感觉不合理