Closed aeq-dev closed 4 months ago
Hi, override the getOptions method and return an array with your settings according to the buttonText option here:
public function getOptions () {
return [
'buttonText' => [
// your settings here
]
];
}
Thanks :)
@lukas-frey where Can I write that function?
Inside your calendar widget class.
@lukas-frey see
@lukas-frey thank you brother
Hi @lukas-frey How can we make it dynamic ? I want to change it based on some conditions or dependencies
You can't. But you can override the Header title where "Calendar" is written and render your own view with Filament Actions there that toggle the view by calling setOption('view', <new-view>)
on the calendar.
Yes I got it ! thank you :))
What feature would you like to add?
Hello, How could we edit views titles? if we use for example : listDay,listWeek,listMonth views, it will be displayed like this :
Notes
No response