TagsInput not splitting tags in custom page
Hi! I'm learning about Filament and Laravel and I've run into an issue. Currently I'm creating a custom component with a form so I can show an edit page without making the user go through the list page. The code in the gist works at creating the page with the form but as I try to create tags, neither the default Enter key nor the Tab key split them.
Maybe there's an implementation I missed?
https://gist.github.com/saiaguirre/0845ae4fb14abe6cb4418820b9399190
Thank you in advance :)
Gist
TagsInput not working in custom Laravel Filament component
TagsInput not working in custom Laravel Filament component - VerOpciones.php
1 Reply
Hi, you forget to add the mount() method in your component.
public function mount(): void
{
$this->form->fill();
}