-
Notifications
You must be signed in to change notification settings - Fork 2k
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
dom-repeat: Duplicate values result in unsynchronized data #1913
Comments
This is a brute-force approach that might be too aggressive. It would be nice to find a convenient place to opt-in to this.
+1, this would be really nice to have. |
I've come across this issue as well, it's quite a big problem when having an array of any non object type |
I just ran into this with 1.4.0, but I don't believe I have duplicate values in my string array. I have this tap handler:
and I'm using paper-inputs for each I found the following workaround:
This likely works because |
@kevinpschaaf are you still working on this? Would be nice to not have such a constrain on value uniqueness, especially when talking about binding on form inputs. |
Original JSBin is now working correctly with Polymer 2, thus I am closing this issue. |
The collection-based key abstraction currently assumes unique array element identity.
Problem can be observed here (type
bbbbb
in the top input, and observe data out of sync):http://jsbin.com/rabize/edit?html,output
The text was updated successfully, but these errors were encountered: