pdmfc / nova-action-button

MIT License
38 stars 29 forks source link

Passing second argument into Nova action button #39

Open HeadStudios opened 1 year ago

HeadStudios commented 1 year ago

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!