F
Filament13mo ago
Luiz

How to only allow TagsInput to use tags from suggestion?

I want to stop user from creating tags on the fly and allow use the suggested values
3 Replies
khairulazmi_
khairulazmi_13mo ago
just disable the createPage class .
LeandroFerreira
LeandroFerreira13mo ago
Why not a Select multiple?
Luiz
LuizOP13mo ago
Because I'm using the spatie\laravel-tag and the filament package counterpart. This filament package extends from TagsInput. This will not help, because I need to associate my models with the tags, and for the first moment of this application the users cannot create their custom tags. I already created a migration that populate the database with the possible values.

Did you find this page helpful?