v4-beta8

need help my attach button break on filament v4-beta8 it still works on v4-beta6 . it throw error on interactwithrecords trait .
5 Replies
Dan Harrin
Dan Harrinβ€’4mo ago
how does it break, share an error
Jonas
Jonasβ€’4mo ago
Just to hop on here, experienced the same issue since v4-beta6 < Figured the issue was on my end so haven't investigated throughly. Looks like this line is the cause
vendor/filament/actions/src/Concerns/InteractsWithRecord.php :136
if (filled($title = $this->getTable()?->getRecordTitle($record))) {
return $title;
}
vendor/filament/actions/src/Concerns/InteractsWithRecord.php :136
if (filled($title = $this->getTable()?->getRecordTitle($record))) {
return $title;
}
From what i can tell $this->getTable()?->getRecordTitle($record) expects a elequent model and doesn't accept null
No description
RahmatNurjaman
RahmatNurjamanOPβ€’4mo ago
thanks @Jonas exactly like what @Jonas shared @Dan Harrin . I will share the error later when I'm back to my desk πŸ™πŸ˜Š, and btw it breaks the Select component too when using relationship. and I think it comes from v4-beta7
RahmatNurjaman
RahmatNurjamanOPβ€’4mo ago
it works now. thank you so much @Dan Harrin @Jonas

Did you find this page helpful?