Skip to content

[mat-select] Maximum call stack size exceeded in select with 1000+ options #12504

Closed
@diegomaninetti

Description

@diegomaninetti

Bug, feature request, or proposal:

Bug

What is the expected behavior?

Select works without errors

What is the current behavior?

Select throws "ERROR RangeError: Maximum call stack size exceeded" when populated with 1000+ options

What are the steps to reproduce?

https://stackblitz.com/edit/angular-b2afph
Just open page and see error in console.

Which versions of Angular, Material, OS, TypeScript, browsers are affected?

angular 6.1.1
angular/material 6.4.2
chrome 68 on windows.

Metadata

Metadata

Assignees

Labels

P3An issue that is relevant to core functions, but does not impede progress. Important, but not urgent

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions