I'm having trouble with the data-tags setting themself when the livewire component is loaded. (My specific implementation is inside a livewire bootstrap modal)
I believe I've set it up correctly as the element does update the DB when I save the selections with either 1 or multiple tags selected.
schedule.aircraft is B738 however this tag is not being "selected" during initial load. Where it gets strange is when I select a new tag (e.g. A320), the B738 is now selected in addition to the newly selected A320 tag.
Let me know if you need me to explain anything further
Hi @MoamenEltouny 👋
I'm having trouble with the
data-tags
setting themself when the livewire component is loaded. (My specific implementation is inside a livewire bootstrap modal)I believe I've set it up correctly as the element does update the DB when I save the selections with either 1 or multiple tags selected.
My snippet is below
schedule.aircraft
isB738
however this tag is not being "selected" during initial load. Where it gets strange is when I select a new tag (e.g.A320
), theB738
is now selected in addition to the newly selectedA320
tag.Let me know if you need me to explain anything further
TIA