File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -162,7 +162,7 @@ protected function createComponentForm() : \Nette\Forms\Form
162162 $ factory = $ this ->factories [$ this ->currentStep - 1 ];
163163
164164 if (\is_object ($ factory ) && \method_exists ($ factory , 'create ' )) {
165- $ step = $ factory ->create ();
165+ $ step = $ factory ->create ($ this -> getValues () );
166166 } elseif (\is_callable ($ factory )) {
167167 $ step = $ factory ($ this ->getValues ());
168168 } else {
@@ -218,7 +218,7 @@ private function getSection() : \Nette\Http\SessionSection
218218 {
219219 $ section = $ this ->session ->getSection ('multiStepForm- ' . $ this ->subsessionId );
220220 $ section ->warnOnUndefined = true ;
221- $ section ->setExpiration ('+ 20 minutes ' );
221+ $ section ->setExpiration ('+ 14 days ' );
222222
223223 return $ section ;
224224 }
You can’t perform that action at this time.
0 commit comments