Section->headerActions->Select
Am I missing this documentation somewhere?
Solution:Jump to solution
You could create a custom action that extends a Forms\Components\Action, then it would work...
```php
<?php
...
10 Replies
If you are looking for the
SelectAction
, yea it appears to be undocumented as of right now...
This does not put the select in the section header
SelectAction
not Select
though
Well, looks like the section does not support the SelectAction
currently 🤔Solution
You could create a custom action that extends a Forms\Components\Action, then it would work...
Sorry I am very new to this, where would I put this file? or component?
Inside your
src
folder create a new folder "named" Actions
. Create a new file named MySelectAction.php
inside that folder.
Paste the following code into MySelectAction.php
After that you should be able to use:
And if I dont have a src folder?
my bad...
app
folder...I have tested that code inside a plugin 🤓
app
instead of src
hehe okay, thanks.
Worked beautifully @dissto - Thank you.