Possible bug with unescaped quotes in table group titles

My seeder generated some random data and one of the record names happened to have a single quote in the name.

It resulted in this alpine error (see pic, isGroupCollapsed)

I can fix it by adding ->getTitleFromRecordUsing(fn ($record) => addslashes($record->organization->name)) but then the slash actually shows up in the UI.

Is this a bug that should be reported on github or am I doing something wrong?
image.png
Was this page helpful?