awcodes / filament-table-repeater

A modified version of the Filament Forms Repeater to display it as a table.
MIT License
194 stars 43 forks source link

Fix: Replace $this->id property with getId() function #51

Closed dennisvandalen closed 1 year ago

dennisvandalen commented 1 year ago

When using the TableRepeater with relationships the following error occurs:

get_class(): Argument #1 ($object) must be of type object, string given

Cause: The id property is not accessible anymore. However you can still access it via the getId() function. This PR fixes this.

The same change has happened in the Filament v3 Repeater.

awcodes commented 1 year ago

Thanks for the PR, but that was removed to be inline with Livewire3.