mirror of
https://gitee.com/ant-design/ant-design.git
synced 2024-11-30 19:19:26 +08:00
fix: allow override fileNameProp, close: #3497
This commit is contained in:
parent
2482b4b760
commit
3c99097bc8
@ -103,8 +103,9 @@ export default class Form extends React.Component<FormProps, any> {
|
||||
static Item = FormItem;
|
||||
|
||||
static create = (options?: FormCreateOption): ComponentDecorator => {
|
||||
const formWrapper = createDOMForm(assign({}, options, {
|
||||
const formWrapper = createDOMForm(assign({
|
||||
fieldNameProp: 'id',
|
||||
}, options, {
|
||||
fieldMetaProp: FIELD_META_PROP,
|
||||
}));
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user