不增加rules,选择后会自动触发onSubmit,增加后不会触发
在LightFilter中增加Button 会报
Warning: React does not recognize the fieldProps prop on a DOM element. If you intentionally want it to appear in the DOM as a custom attribute, spell it as lowercase fieldprops instead. If you accidentally passed it from a parent component, remove it from the DOM element.
🐛 bug 描述
LightFilter表单下ProFormTreeSelect增加rules,修改后不会自动触发提交事件
📷 复现步骤
不增加rules,选择后会自动触发onSubmit,增加后不会触发 在LightFilter中增加Button 会报 Warning: React does not recognize the
fieldProps
prop on a DOM element. If you intentionally want it to appear in the DOM as a custom attribute, spell it as lowercasefieldprops
instead. If you accidentally passed it from a parent component, remove it from the DOM element.🏞 期望结果
选择后,在验证rules成功的情况下自动触发onSubmit
💻 复现代码
© 版本信息
🚑 其他信息