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

使用 optionLabelProp 自定义选中项, 无法通过外部依赖项更新选中项属性 #1027

Open
canonsir opened this issue Feb 21, 2024 · 3 comments

Comments

@canonsir
Copy link

canonsir commented Feb 21, 2024

场景:
自定义 Select 选中项后, 需要支持 dark mode 主题, Select 选中项文字样式跟随主题切换

问题:
外部感知到 dark mode 更新后, 尝试更新 Select 已 选中项 文字颜色, 结果更新失败

SandBox

2024-02-21.17.56.08.mov
@afc163
Copy link
Member

afc163 commented Feb 21, 2024

图片

@canonsir
Copy link
Author

图片

非常抱歉, 权限已设置为公开, 请重试一下

@canonsir
Copy link
Author

@afc163 请问这个有结论吗?

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

2 participants