TagsInput throws errors in console
Hi there. This is my first post, hopefully I respected all the rules. I apologize if not.
The pseudo code below throws some nasty javascript console errors (see screenshot) when using TagsInput, while other , similar, solutions do not.
Errors which are repeated twice for each component but only at load time, not at update (see screenshot for more information):
Uncaught ReferenceError: input is not defined
Uncaught ReferenceError: state is not defined
Cannot convert undefined or null to object
1 Reply
Please follow this section
https://filamentphp.com/docs/3.x/forms/adding-a-form-to-a-livewire-component#adding-the-form
You should use
InteractsWithForms
, create a mount method, define the->statePath('data')
, etc