Skip to content

Passing second argument into Nova action button #39

Description

@HeadStudios

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!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions