I have a map attributes: Map<number, Set<string>> = new Map();
I am trying to add new values to individual sets by using the number as key like
this.attributes.get(this.selectedId).add($event.id);
This used to work but for some reasons now when i do this the value is added in all sets. I have no idea what is going on, cause to me make no sense. Does anybody had a similar problem, please help.