Update 04-pages.md

This commit is contained in:
Dan Harrin
2024-07-25 13:31:05 +01:00
parent 33b2ec9596
commit c6d61f9654
+2 -2
View File
@@ -77,10 +77,10 @@ You can also pass an array of arguments to the default action using the `$defaul
public $defaultActionArguments = ['step' => 2];
```
Alternatively, you can open an action modal when a page loads by specifying the `defaultAction` as a query string parameter to the page:
Alternatively, you can open an action modal when a page loads by specifying the `action` as a query string parameter to the page:
```
/admin/products/edit/932510?defaultAction=onboarding
/admin/products/edit/932510?action=onboarding
```
### Refreshing form data