AttachAction title
Hi, i have
AttachAction
action in a relation manager, and i want it's title attribute to be name
which composes from first_name
and last_name
, spent too much time; no luck.
A help would be appreciated.Solution:Jump to solution
My PR which fixes this just got merged, and I think the release with that PR in it has been tagged, so updating composer should get it.
The PR includes an example of how you set the recordTtile() on an AttachAction or AssociateAction.
https://github.com/filamentphp/filament/pull/8992...
GitHub
Check for recordTitle in AttachAction $getOptions by cheesegrits · ...
Changes have been thoroughly tested to not break existing functionality.
New functionality has been documented or existing documentation has been updated to reflect changes.
Visual changes are ex...
8 Replies
bump
There should be a
recordTitle()
method or similar.in the database i store
first_name
last_name
and i use Attribute
cast, which makes the problemWhy is it an issue? I think it might work with attributes
i tried it not working
it checks for
recordTitleAttribute()
which fetches from db directly
bump
help
helpSolution
My PR which fixes this just got merged, and I think the release with that PR in it has been tagged, so updating composer should get it.
The PR includes an example of how you set the recordTtile() on an AttachAction or AssociateAction.
https://github.com/filamentphp/filament/pull/8992
GitHub
Check for recordTitle in AttachAction $getOptions by cheesegrits · ...
Changes have been thoroughly tested to not break existing functionality.
New functionality has been documented or existing documentation has been updated to reflect changes.
Visual changes are ex...
Until that PR got merged last night, recordTitle() on AttachAction just didn't work.
If the PR didn't make it into 3.0.74, it'll be in the next release.
@Hugh Messenger Thanks so much for both PR and help!