using AsEnumArrayObject with enums

when I try to use AsEnumArrayObject in casting

in my model:
protected $casts = [
  'permissions' => AsEnumArrayObject::class.':'.Abilities::class,
];

in the table:
Tables\Columns\TextColumn::make('permissions')

I get

htmlspecialchars(): Argument #1 ($string) must be of type string, Illuminate\Database\Eloquent\Casts\ArrayObject given


is it even possible to use AsEnumArrayObject with enums in filament? couldent see anything here
https://filamentphp.com/docs/3.x/support/enums
Was this page helpful?