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
当 ProCard 的 Extra 属性中存在ProFormSwitch组件时,控制ProFormSwitch变化会存在连贯控制ProCard折叠
注意:ProCard仅仅开启了折叠功能,但没有配置与ProFormSwitch联控
<ProCard title=“啊啊啊啊” hoverable bordered collapsible extra={ <ProFormGroup> <ProFormSwitch name="Enable" noStyle checkedChildren={'启用'} unCheckedChildren={'禁用'} /> </ProFormGroup> } >
ProFormSwitch 的值变化不应该控制ProCard的折叠事件,如果需要控制,应当是手动加入监听事件去改变ProCard折叠事件。
<ProCard title=“啊啊啊啊” hoverable bordered collapsible extra={ <ProFormSwitch name="Enable" noStyle checkedChildren={'启用'} unCheckedChildren={'禁用'} /> } >
The text was updated successfully, but these errors were encountered:
事件看起来冒泡了
Sorry, something went wrong.
c86532f
No branches or pull requests
🐛 bug 描述
当 ProCard 的 Extra 属性中存在ProFormSwitch组件时,控制ProFormSwitch变化会存在连贯控制ProCard折叠
注意:ProCard仅仅开启了折叠功能,但没有配置与ProFormSwitch联控
📷 复现步骤
🏞 期望结果
ProFormSwitch 的值变化不应该控制ProCard的折叠事件,如果需要控制,应当是手动加入监听事件去改变ProCard折叠事件。
💻 复现代码
<ProCard
title=“啊啊啊啊”
hoverable
bordered
collapsible
extra={
<ProFormSwitch
name="Enable"
noStyle
checkedChildren={'启用'}
unCheckedChildren={'禁用'}
/>
}
>
© 版本信息
🚑 其他信息
The text was updated successfully, but these errors were encountered: