pro-components
pro-components copied to clipboard
🧐[问题]2.5.15,下拉框formItemProps里optionFilterProp的值使用children不生效了,换成label就可以,是特意改了吗
🧐 问题描述
💻 示例代码
不生效 =>
生效 =>

🚑 其他信息
formItemProps: {
showSearch: true,
mode: 'multiple',
maxTagCount: 1,
maxTagTextLength: 6,
optionFilterProp: 'children',
allowClear: true,
onChange: this.handlePhaseChange,
}
不是的,应该是我们替换了 children 导致的, optionFilterProp: 'children', 可能不能用了
不是的,应该是我们替换了 children 导致的,
optionFilterProp: 'children',可能不能用了
@chenshuai2144 optionFilterProp: 'children', 不能使用的话,有什么替代方案吗?([email protected])
自定义一下 用options render。因为我们改掉了options 你可以试着升级最新版 !应该侵入性更小了