Tieme
Too many login attempts Not work.
Take a look at https://filamentphp.com/docs/3.x/panels/users#customizing-the-authentication-features
13 replies
2 "save" actions on CreateResource with "mutateFormDataBeforeCreate"
Here is the solution.
Create a Formfield, hide the label and add
hidden
as extraAttributes
For the action, set submit to null
and update the $livewire->data['status']
in action and than create the record.
This will set status to Concept
in my case.
If there is another way i would love to see it.
Because this works, but dont think this is the best way of doing this.11 replies
2 "save" actions on CreateResource with "mutateFormDataBeforeCreate"
So i need to duplicate the create function to only change 1 attribute that needs to be changed?
Just like below where i added the
$data['status'] = InternalProjectStatus::CONCEPT->value;
Isent there a better way to do this?
11 replies
custom field appends error when sum using summariz
i think you need a query for that.
Summarize does a query to the database, that is why it is not working.
https://filamentphp.com/docs/3.x/tables/summaries#scoping-the-dataset
->query(fn (Builder $query) => $query->where('is_published', true))
4 replies
widget doesin't update when i use the filter on a table help please
Have you completed the setup by reading the docs : https://filamentphp.com/docs/3.x/panels/resources/widgets#accessing-page-table-data-in-the-widget
3 replies
is it possible to add dividers in a grouped action blade / livewire component?
Yes this it possible.
You can checkout all the code of fillament on Github and start looking how it should be done,
Below is the code you can find in https://github.com/filamentphp/filament/blob/2f5ac6078d522672a437b56d573a78ecf869a67a/docs-assets/app/resources/views/livewire/actions.blade.php#L106-L114
4 replies