pro-components: 🐛[BUG] Warning: React does not recognize the `formItemProps` prop on a DOM element. If you intentionally want it to appear in the DOM as a custom attribute, spell it as lowercase `formitemprops` instead. If you accidentally passed it from a parent component, remove it from the DOM element.
Warning: React does not recognize the formItemProps
prop on a DOM element. If you intentionally want it to appear in the DOM as a custom attribute, spell it as lowercase formitemprops
instead. If you accidentally passed it from a parent component, remove it from the DOM element.
About this issue
- Original URL
- State: closed
- Created 4 years ago
- Reactions: 1
- Comments: 20 (10 by maintainers)
@ZhiGang-Fang 更新版本
问题找到了,自定义搜索表单时renderFormItem 透传 {…rest} 中包含formItemProps导致的