Skip to content
Discussion options

You must be logged in to vote
public function viewFormAnswerAction(): Action
{
    return Action::make('viewFormAnswer')
        ->action(fn (array $arguments) => $this
            ->replaceMountedAction('formAnswerSchema', arguments: $arguments));
}

public function formAnswerSchemaAction(): Action
{
    return Action::make('formAnswerSchema')
        ->schema(function (array $arguments): array {

            // You can access the arguments here
            return [
                // ...
            ];
        });
}

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
2 replies
@joaovdiasb
Comment options

@taised
Comment options

Answer selected by joaovdiasb
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Help
Labels
None yet
3 participants