-
Notifications
You must be signed in to change notification settings - Fork 446
New issue
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
[Cascader] keys中加入disabled的自定义字段判定 #3193
Comments
👋 @puppetsheep,感谢给 TDesign 提出了 issue。 |
|
你可以 在节点 中 设置 disabled为 true 禁用节点
|
不一定会有disabled字段,或者需要通过动态判定disabled所使用的字段时,操作起来就极为复杂。 |
这种自己处理一下数据结构就好了 |
暂时不考虑增加这样的特性,有点奇怪。这个需求很业务了。 |
当前所有主流的vue3组件库都支持这个操作,应该不算很业务的需求了吧? |
|
都不是说 :keys="{ disabled:'disable' }" 以这种方式来 禁用选项的,你要禁用哪个 自己 控制 对应的 option 就好了 |
都允许指定某字段或判定disabled的条件,例如Arco中可以直接设置
|
那你可以 自己 fork一下代码 改 |
经过讨论,最终予以支持。 |
这个功能解决了什么问题
能自自定义哪个字段会被判定为
disabled
,用来控制禁用项你建议的方案是什么
The text was updated successfully, but these errors were encountered: