I'm using angular material select to display a dropdown in my app, when the data is provided from a parent using a getter, it causes an infinite loop, I can't find the source of resetting the input options,
Will appreciate any help,
I remarked the mat-option elements and it solved the issue, I assume it causes resetting the data somehow or triggering change detection
A getter is executed several times along the life of the component.
As The map() method creates a new array, when you're using a mat-select makes the infinite loop the ngChanges.
You can solve using a setter in your input (I don't know if it's you're looking for), so in your parent