ahinkle
Action with Notification not showing
Dealing with a small issue where notification isn't appearing. I have a header action that launches a job. When I confirm the action, it returns to the index and nothing happens. No indication that it was successfully started. Any ideas?
3 replies
Relationship Manager: Open in same window (non-modal)
Say I have a
UserResource
and a PostResource
.
When I add a PostRelationManager
, it opens posts in a modal. How can we make it display the full page Post
instead of modal?
PostRelationManager
:
PostResource
Actions:
When on the PostResource, it opens in the same page, but when using the relationship manager, it opens a modal.
Been scouring the docs but not seeing it. Thanks!2 replies
Debugging Import: Multiple types of exceptions occurred
Sometimes when working with Filament imports, I'll see this popup in the log:
This exception isn't super helpful and it doesn't give context into the query or what happened. it's the only thing in the log -- doesn't provide the query statement or anything like that. Any ideas how to debug this?
2 replies
Testing: How to call a table action within a relation manager?
Hi, I have this Action within my
CountriesRelationManager
:
I'm looking to write a test for this custom action:
However, I'm getting the error:
Any ideas here on how to call moveUp
? Much appreciated!2 replies
Writing a test to call toggle on ToggleColumn List Resource
Hey everyone! I'm trying to write a test to toggle the
is_enabled
ToggleColumn
on my Resource. I can't seem to find it in the documentation. Any ideas on how to write a test for this?
5 replies
Set Global Form Input Label as `Str::headline()`?
In all of my inputs, I find myself overriding the label:
Billing first name -> Billing First Name
Is there way to override the default setting label to always use
Str::headline()
? Either in a App Service Provider or service container?
Tried to do something fun like this but no dice:
3 replies
Table Filter, `BooleanConstraint` relationship exists
Hi friends,
I'm attempting to add a QueryBuilder filter with a simple bool of if they have any registered warranties or not.
Any ideas on how to get the
BooleanConstraint
with a relationship to exist?
For example, I have this column that is working:
Which I'm trying to add to the filter:
which wants to apply to the current model:
which I add the relationship
method, but it wants a titleAttribute
attribute. Unfortunately, the titleAttribute
is using the value from the boolean which would be 1
.
3 replies
Fields(such as a date range) in Charts?
Hey everyone!
I'm on V3. Is it possible to add fields such as start and end date on widget charts? I didn't see anything in the docs— perhaps I overlooked it, or this is more of a custom thing?
Examples would be awesome!
Thanks!
5 replies
Unable to locate a class or view for component [filament::input.wrapper].
Hi guys,
Is the input wrapper deprecated for v3?
Getting:
Unable to locate a class or view for component [filament::input.wrapper].
Can't seem to find the component on v3. Any ideas?2 replies
Nullable DateTime Filter Value on Table Filter (v3)
Hi there, I have a table with three inputs:
With Trashed
Created At (from)
Created At (to)
The filters work but when I don't use the created_at filter, it defaults to null where it throws an exception:
Could not parse 'null': Failed to parse time string (null) at position 0 (n): The timezone could not be found in the database
The generated URL: admin/users?tableFilters[trashed][value]=1&tableFilters[Created%20At][created_from]=null&tableFilters[Created%20At][created_until]=null
This works on v2 but doesn't work on v3. Any ideas?
Filter:
5 replies