z33ro_
z33ro_
FFilament
Created by z33ro_ on 8/2/2023 in #❓┊help
customize the query for repeatable entries
i am currently creating an infolist view page with the following information: 1. The book information 2. The current people who has borrowed the book. In my situation, i want to display a repeatable entry in 2nd option but it always returns all of the data from the relationship i have created. Is there any way to modify the query that is being used to get all the data from the relationship? For ex.:
RepeatableEntry::make(borrows)
->relationshipQuery(fn (Builder $query) => $query->where('return_status', 'pending'))
RepeatableEntry::make(borrows)
->relationshipQuery(fn (Builder $query) => $query->where('return_status', 'pending'))
2 replies
FFilament
Created by z33ro_ on 3/3/2023 in #❓┊help
Replace the default dropdown in BulkAction with an ActionButton
I only have one bulkAction in my table and it is kind of annoying to have a dropdown that only contains one Action inside of it. I want to change the default dropdown and replace it with the deleteBulkAction. Is there a way to disable the dropdown?
6 replies