How to make new tag in select input

I have a case where i made a select input that is searchable but the problem is when i search something that does not exist in mine db i want to get an option that will say add new tag, is this possible in the filament, mine code looks

Select::make('tags.title')
->relationship('tags', 'title')
->label('Tags')
->searchable()
->multiple(),

Select::make('tags.title')
->relationship('tags', 'title')
->label('Tags')
->searchable()
->multiple(),
2 Replies
dissto
dissto5mo ago
Creating a new option in a modal Thats probably the closest you'll get out of the box. 🤔
mile4841
mile4841OP5mo ago
Thanks man i will implement that solution
Want results from more Discord servers?
Add your server