fix: Form.Item "React does not recognize the requiredMark prop on a DOM element" (#34323)

close #34310
This commit is contained in:
afc163 2022-03-07 12:22:33 +08:00 committed by GitHub
parent 6ab61e420c
commit 0acb9901ea
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -261,6 +261,7 @@ function FormItem<Values = any>(props: FormItemProps<Values>): React.ReactElemen
'colon', 'colon',
'extra', 'extra',
'fieldKey', 'fieldKey',
'requiredMark',
'getValueFromEvent', 'getValueFromEvent',
'getValueProps', 'getValueProps',
'htmlFor', 'htmlFor',