F
Filament10mo ago
neerajk

Can we modify SpatieTags to prevent dynamically adding new tags?

This is about SpatieTags plugin (https://filamentphp.com/plugins/filament-spatie-tags) I have created a separate resource to add/edit/delete tags and will give rights to add/edit/delete tags to certain users only. All other users can just use the tag but not add new one dynamically.
Forms\Components\SpatieTagsInput::make('tags')
Forms\Components\SpatieTagsInput::make('tags')
5 Replies
neerajk
neerajkOP10mo ago
anyone?
Tieme
Tieme10mo ago
You could make a select with a relationship to tags.
neerajk
neerajkOP10mo ago
But then will I be able to use native functions like attachTag?
Tieme
Tieme10mo ago
I think so, just try and if you got errors take a good look at the error what is it and why it is happening.
neerajk
neerajkOP10mo ago
Nope, not working I will be going to write it my custom way and removing SpatieTags plugin
Want results from more Discord servers?
Add your server