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
https://codesandbox.io/p/sandbox/amazing-ace-jvdx6j?file=%2FApp.tsx%3A46%2C30
第一步: 设置 value 包含 label
label
<Select value={{value: 'test', label: 'custom text'}} />
第二步:更新value 为 简单类型
<Select value={'test'} />
第二步后,选择器内文字为 test
test
第二步后,选择器内文字为上一次缓存的文案 custom text
custom text
The text was updated successfully, but these errors were encountered:
Successfully merging a pull request may close this issue.
复现demo:
https://codesandbox.io/p/sandbox/amazing-ace-jvdx6j?file=%2FApp.tsx%3A46%2C30
复现步骤:
第一步: 设置 value 包含
label
第二步:更新value 为 简单类型
预期表现:
第二步后,选择器内文字为
test
实际表现
第二步后,选择器内文字为上一次缓存的文案
custom text
The text was updated successfully, but these errors were encountered: