mirror of
https://gitee.com/baidu/amis.git
synced 2024-12-04 13:09:07 +08:00
group 改成 form 下面的 renderControl
This commit is contained in:
parent
d7a48acd56
commit
ae453e0956
@ -939,7 +939,9 @@ export default class Form extends React.Component<FormProps, object> {
|
||||
controlWidth,
|
||||
resolveDefinitions,
|
||||
lazyChange,
|
||||
formLazyChange
|
||||
formLazyChange,
|
||||
formHorizontal,
|
||||
formMode
|
||||
} = props;
|
||||
|
||||
const subProps = {
|
||||
@ -949,8 +951,8 @@ export default class Form extends React.Component<FormProps, object> {
|
||||
(control as Schema).type
|
||||
}-${key}`,
|
||||
formInited: form.inited,
|
||||
formMode: mode,
|
||||
formHorizontal: horizontal,
|
||||
formMode: formMode || mode,
|
||||
formHorizontal: formHorizontal || horizontal,
|
||||
controlWidth,
|
||||
disabled: disabled || (control as Schema).disabled || form.loading,
|
||||
btnDisabled: form.loading || form.validating,
|
||||
|
Loading…
Reference in New Issue
Block a user