SpatieTags

Nested Livewire Component

DEPRECATED!

If you decide to use this field anyway, know that you'll get an error in console: Livewire: Multiple root elements detected. This is not supported.

Livewire doesn't regenerate the child components wire:end attribute.

It's only a warning but it may break other js. See: https://github.com/livewire/livewire/discussions/3887

Use Tags or TagSearch instead.

The component still exists in the codebase but it won't be maintained. If you continue to use it, you have to add the listener to your components.

protected $listeners = ['tallFillField'];

public function tallFillField($array)
{
    $this->tags = $array['value'];
}

Important. If you have any issues in your form. Try to put this field last. Livewire/Alpine can get messy when there are nested components.

Last updated