pdmfc/nova-action-button

Passing second argument into Nova action button

Opened this issue · 0 comments

Hi,
How do I pass a second argument into Nova Action button?

Context:
I want to pass:
$sequence_array = \App\Models\Sequencer::all()->pluck('name', 'id')->toArray(); // This is for SendSequence job argument

to each 'SendSequence' action so it doesn't do the query calculation on each row (which it seems to do even if I don't press the action button

https://gist.github.com/HeadStudios/612bb5e172b27aa4f19561f2758cb893

Thank you!