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 65ad147 commit 3dc44f5Copy full SHA for 3dc44f5
classes/Models/FormPage.php
@@ -361,6 +361,9 @@ public function render(
361
if ($mode === 'htmx' && Htmx::isHtmxRequest()) {
362
try {
363
$page = DreamForm::findPageOrDraftRecursive(Htmx::decrypt($kirby->request()->body()->get('dreamform:page')));
364
+ // set the current page
365
+ site()->visit($page);
366
+
367
$attr = Json::decode(Htmx::decrypt($kirby->request()->body()->get('dreamform:attr')));
368
369
// if an error is thrown, this means the data must have been tampered with
0 commit comments