diff --git a/packages/amis-core/src/renderers/Form.tsx b/packages/amis-core/src/renderers/Form.tsx index c878e5c47..d6fa35d20 100644 --- a/packages/amis-core/src/renderers/Form.tsx +++ b/packages/amis-core/src/renderers/Form.tsx @@ -1733,6 +1733,7 @@ export default class Form extends React.Component { actionsClassName, bodyClassName, classnames: cx, + style, affixFooter, lazyLoad, translate: __, @@ -1750,6 +1751,7 @@ export default class Form extends React.Component { }, { className: cx(panelClassName, 'Panel--form'), + style: style, formStore: this.props.store, children: body, actions: this.buildActions(), diff --git a/packages/amis/src/renderers/Form/ButtonGroupSelect.tsx b/packages/amis/src/renderers/Form/ButtonGroupSelect.tsx index 26a1be662..2424d018a 100644 --- a/packages/amis/src/renderers/Form/ButtonGroupSelect.tsx +++ b/packages/amis/src/renderers/Form/ButtonGroupSelect.tsx @@ -160,7 +160,6 @@ export default class ButtonGroupControl extends React.Component< }, className )} - style={style} > {body.length ? ( body diff --git a/packages/amis/src/renderers/Panel.tsx b/packages/amis/src/renderers/Panel.tsx index 1309711aa..8193bfa9d 100644 --- a/packages/amis/src/renderers/Panel.tsx +++ b/packages/amis/src/renderers/Panel.tsx @@ -179,6 +179,7 @@ export default class Panel extends React.Component { const { type, className, + style, data, header, body,