F
Filament12mo 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_12mo ago
just disable the createPage class .
LeandroFerreira
LeandroFerreira12mo ago
Why not a Select multiple?
Luiz
LuizOP12mo 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?