You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When using multiple-select with Choices.js, there is an issue with Livewire (PHP) if the wire:model attribute is set on the element. Livewire checks the event, checking, among other things, whether it's a CustomEvent and also the data property on the event. Depending on its value, it performs one action or another.
This is a very common problem when two or more libraries use the default event types for their operations.
I recommend using the default events as Event and not CustomEvent. It's better to create custom events with different type properties so that Choices can be adaptable.
I hope you change this as soon as possible because it's cumbersome to work with Choices and Livewire.
The text was updated successfully, but these errors were encountered:
When using multiple-select with Choices.js, there is an issue with Livewire (PHP) if the wire:model attribute is set on the element. Livewire checks the event, checking, among other things, whether it's a CustomEvent and also the data property on the event. Depending on its value, it performs one action or another.
This is a very common problem when two or more libraries use the default event types for their operations.
I recommend using the default events as Event and not CustomEvent. It's better to create custom events with different type properties so that Choices can be adaptable.
I hope you change this as soon as possible because it's cumbersome to work with Choices and Livewire.
The text was updated successfully, but these errors were encountered: