Skip to content

Action to create does not load the defined label #182

Answered by orebarranco
orebarranco asked this question in Q&A
Discussion options

You must be logged in to vote

Hi, I solved the problem by overriding the headerActions() method and specifying the label method for the CreateAction action:

protected function headerActions(): array
    {
        return [
            \Saade\FilamentFullCalendar\Actions\CreateAction::make()
                ->label('Crear Cita')
                ->url(AppointmentResource::getUrl('create')),
        ];
    }

Replies: 2 comments 2 replies

Comment options

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

Answer selected by orebarranco
@jncalderon
Comment options

Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants