-
Notifications
You must be signed in to change notification settings - Fork 125
Open
Description
Hi @drehimself
I found an issue with the ids in the store as I have 5 records in the database starting from id 1. Now If I add several more items, the next items will have a manually generated id which will result in the following error:
[Vue warn]: Duplicate keys detected: '4'. This may cause an update error.
The reason for this is that you start with a hard coded id here:
todo-vue/src/components/TodoList.vue
Line 48 in 9487b27
idForTodo: 3, |
How can this be fixed?
Metadata
Metadata
Assignees
Labels
No labels