DEV Community

Discussion on: Angular- Delete item from array of object

Collapse
 
mateuszto profile image
Mateusz Tomczyk

Did you know now how to solve problem with id when i delete all notes and try to add a new one?

Collapse
 
alexf profile image
Alex F. • Edited

This works:
new set

Although I'm no expert XD. Seems logical you can't reverse an empty array.

Thread Thread
 
mateuszto profile image
Mateusz Tomczyk

Thank you so much!