Skip to content

Multivalue with live() fix#219

Open
oleanti wants to merge 1 commit into
CodeWithDennis:4.xfrom
oleanti:4.x
Open

Multivalue with live() fix#219
oleanti wants to merge 1 commit into
CodeWithDennis:4.xfrom
oleanti:4.x

Conversation

@oleanti

@oleanti oleanti commented Jun 24, 2026

Copy link
Copy Markdown

Avoid closing the select on each selection due to livewire renders.

Derive a stable, per-field wire:key from the state path. Using rand() produced a new key on every render, so a ->live() round-trip swapped the whole field node (defeating wire:ignore) and reset the tree.

#119

… produced a new key on every render, so a ->live() round-trip swapped the whole field node (defeating wire:ignore) and reset the tree
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant