Bartek
Is it possible to put action form input field next to action button in a table row?
I would like to have form input field displayed in table row next to action button in filament instead of opening up a modal. Is that possible with filament currently?
14 replies
Is there a way to display empty table in TableWidget if specific property of parent model is false?
I have created TableWidget inside which I have Table with custom query that pulls data from some external model. I'm displaying this widget on view resource page in footer.
What I'm trying to do is to display empty table based on state of resource model property on which I'm displaying widget.
I have tried to add conditional to table query to simply set it to null but I get error that my widget needs to have a query().
Any help will be appreciated.
Thanks
3 replies
Is there a way to modify option label strings in default AttachAction class?
I'm having issues attempting to modify option labels in Attach Action dropdown. What I want to do is to prefix them with string.
Tried various approaches from the docs but it seems they are being overwritten?
I know you can customise record title by setting
recordTitleAttribute()
method but that only allows us to choose different attribute on the model.
I cannot modify the model or migration.
I need a way to mutate options labels as the dropdown is populated.
Any help will be appreciated.3 replies