We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b0536b9 commit 6205955Copy full SHA for 6205955
src/MultistepForm/MultistepForm.php
@@ -145,6 +145,7 @@ public function getValues() : array
145
public function saveState(array &$params): void
146
{
147
$params['step'] = $this->currentStep ?? 1;
148
+ $params[self::FORM_IDENTIFIER] = $this->subsessionId;
149
}
150
151
/**
@@ -153,6 +154,7 @@ public function saveState(array &$params): void
153
154
public function loadState(array $params): void
155
156
$this->currentStep = (int) ($params['step'] ?? 1);
157
+ $this->subsessionId = $params[self::FORM_IDENTIFIER] ?? $this->subsessionId;
158
159
160
protected function createComponentForm() : \Nette\Forms\Form
0 commit comments