Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Reactive statement not triggered when binding to a each context #4879

Closed
tanhauhau opened this issue May 21, 2020 · 1 comment · Fixed by #4878
Closed

Reactive statement not triggered when binding to a each context #4879

tanhauhau opened this issue May 21, 2020 · 1 comment · Fixed by #4878

Comments

@tanhauhau
Copy link
Member

Describe the bug

<script>
	const refs = ['1','2','3']
	$: console.log(refs)
</script>

{#each refs as ref}
	<input bind:value={ref} />
{/each}

only console once on initialisation.

Logs

To Reproduce

Expected behavior
should console out every time when input changes

@Conduitry
Copy link
Member

👍 Released your fix in 3.23.0.

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 a pull request may close this issue.

2 participants