Skip to content
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

useDisplayValues能否在返回体加个disabled 属性, 然后默认取值option的disabled? #298

Open
introvert-y opened this issue Jun 9, 2022 · 0 comments

Comments

@introvert-y
Copy link

因为在传入rc-select@14.1.2@rc-select中的 BaseSelect , 的 onKeyDown
:onInternalKeyDown中会根据这个disabled来判断,是否能删除这个已选中的属性。

使用场景是,当配合Form.Item,回填使用的时候当option中已经加了disabled 这时是不能选中。期望是不能删除,但是现在是能删除已经选择的。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant