diff --git a/src/components/form-access/FormAccess.tsx b/src/components/form-access/FormAccess.tsx index 98fedafd3b..3d8eaf453f 100644 --- a/src/components/form-access/FormAccess.tsx +++ b/src/components/form-access/FormAccess.tsx @@ -69,8 +69,7 @@ export const FormAccess = ({ render: (props: any) => { const renderElement = element.props.render(props); return cloneElement(renderElement, { - value: props.value, - onChange: props.onChange, + ...renderElement.props, ...newProps, }); },