Describe the bug
Each loop register multiple values in bind:group, adding key expression doesn't help, but adding index strangely solves the problem.
To Reproduce
Buggy: https://svelte.dev/repl/6ee5960e75ac442bb0f8577f98941501?version=3.24.0
Fixed: https://svelte.dev/repl/5738295d14a6406a9f4a1a0b73f403d0?version=3.24.0
Fixed version works without the keys (key)
Expected behavior
Expected that key expression was the one to give each element unique id to bind the group
Information about your Svelte project:
- Your browser and the version: Firefox Developer 79.0b9
- Your operating system: Windows 10
- Svelte version: 3.24.0
- Uses Rollup
Severity
How severe an issue is this bug to you? Is this annoying, blocking some users, blocking an upgrade or blocking your usage of Svelte entirely?
Annoying, time wasting
Describe the bug
Each loop register multiple values in
bind:group, adding key expression doesn't help, but adding index strangely solves the problem.To Reproduce
Buggy: https://svelte.dev/repl/6ee5960e75ac442bb0f8577f98941501?version=3.24.0
Fixed: https://svelte.dev/repl/5738295d14a6406a9f4a1a0b73f403d0?version=3.24.0
Fixed version works without the keys
(key)Expected behavior
Expected that key expression was the one to give each element unique id to bind the group
Information about your Svelte project:
Severity
How severe an issue is this bug to you? Is this annoying, blocking some users, blocking an upgrade or blocking your usage of Svelte entirely?
Annoying, time wasting