What I expect:
When you tap the "Tap Here!" text, the DataRepeater should redraw to list "1", "2", and "3".
What actually happens:
When you tap the "Tap Here!" text, the DataRepeater stays as-is.
Apparently, if I remove the "id" property from the arrays I'm setting, everything is hunky-dory:
I suspect this is a bug.
If this is intended behavior, then it should be documented.
Windows 8 / Chrome 36
Per : The reason this is failing is that id is the default primaryKey for Model so enyo.store complains about duplicate models when the collection is reset with a new model with the same id. You can either enable enyo.store.ignoreDuplicates, use merge() instead of reset(), or specify a different primaryKey.
- can you please review these comments and let us know if this approach will work for you? Thanks.