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? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
databinding组件二次打开时,无法正确获取上次设置的值
data-binding-select 组件实现, 如下图
data-binding-select
选择后, 调用注入的onSelect方法设置绑定值, 注意值的类型是string。
onSelect
string
绑定生效, 代码和右侧panel组件均可见到效果
在没有关闭选择器的情况下, 选择后, react props取到的value值有效, 可以看到选择的值背景色已经变为红色。
undefined
The text was updated successfully, but these errors were encountered:
👍 Thanks for this! 🏷 I have applied any labels matching special text in your issue.
Please review the labels and make any necessary changes.
Sorry, something went wrong.
fix: 修复数据绑定组件选中值回传不正确的问题(baidu#11126)
aa26eab
fix: 修复数据绑定组件选中值回传不正确的问题(#11126) (#11127)
887d860
Co-authored-by: chenfan02 <chenfan02@baidu.com>
No branches or pull requests
描述问题:
databinding组件二次打开时,无法正确获取上次设置的值
截图或视频:
如何复现(请务必完整填写下面内容):
data-binding-select
组件实现, 如下图选择后, 调用注入的
onSelect
方法设置绑定值, 注意值的类型是string
。绑定生效, 代码和右侧panel组件均可见到效果
在没有关闭选择器的情况下, 选择后, react props取到的value值有效, 可以看到选择的值背景色已经变为红色。
undefined
.最终二次打开选择组件时, 无法正常恢复上次渲染结果。value和result的值均正确(类型为string)。 value.value为undefined.The text was updated successfully, but these errors were encountered: