spaite tags for filaments CURD operations

Are there any tutorials or solutions available for creating a Laravel resource for managing spaite tags for filaments, which includes functionalities to create, update, delete, and implement unique validation? I created a resource myself, but I'm encountering an error where the field name 'Name' is showing '[object Object]' on the edit and view pages.
4 Replies
krekas
krekas15mo ago
If it's just a resource to create and edit tag you are just doing something wrong.
krekas
krekas15mo ago
GitHub
roadmap/TagResource.php at main · ploi/roadmap
Open source roadmapping software. Contribute to ploi/roadmap development by creating an account on GitHub.
toeknee
toeknee15mo ago
As krekas points out. but object,object means you have returned and object and not the name of the instance
Shubham chugh
Shubham chugh15mo ago
Thank you for your assistance in identifying the mistake. I need to include the trait "Use CreateRecord\Concerns\Translatable;" and "Use EditRecord\Concerns\Translatable;" in both the createRecord and editRecord.