diff --git a/src/components/Stepper/index.jsx b/src/components/Stepper/index.jsx index 5cc89ef6..80634988 100644 --- a/src/components/Stepper/index.jsx +++ b/src/components/Stepper/index.jsx @@ -69,7 +69,11 @@ class GnoStepper extends React.PureComponent { const activePageProps = this.getPageProps(pages) const { children, ...props } = activePageProps - return children(props) + return children({ ...props, updateInitialProps: this.updateInitialProps }) + } + + updateInitialProps = (initialValues) => { + this.setState({ values: initialValues }) } validate = (values: Object) => {