Cannot casts roles.name field with enums
Closed this issue ยท 2 comments
kamaludin21 commented
chinmaypurav commented
The issue which you are facing does not fall within the scope of this package.
This should help you with some debugging
https://spatie.be/docs/laravel-permission/v6/basic-usage/enums
Also I do have a small request; can you please paste you code in code blocks instead of an image? If someone has to try/test out the code, it will really be easy to copy paste the code block.
Thanks!
kamaludin21 commented
thank's you give me clue, should rename from "SUPER ADMIN" to "SUPERADMIN. cannot use space ๐๐