P
P
PerfectLab2015-11-25 16:17:16
Angular
PerfectLab, 2015-11-25 16:17:16

How to implement a dropdown list (select) with more items?

Hello!
There is a performance issue with AngularJS (chosen) custom select in Internet Explorer 11. There are about 10000 elements in the select. I believe this is due to the rendering feature in IE - stackoverflow.com/questions/21322894/jquery-plugin...
https://material.angularjs.org/latest/demo/autocomplete - a library that works as it should, there is a search and data is shown when scrolling as in a normal select, the number of DOM elements is limited, only a part is shown.
Are there similar solutions without the need to pull up the material library?

Answer the question

In order to leave comments, you need to log in

2 answer(s)
L
lega, 2015-11-25
@lega

There is no point in displaying 10,000 elements, a search is needed here. I usually use select2

M
Mikhail Osher, 2015-11-25
@miraage

Yes. material is open source. See how they did it - apply it in your task.
https://github.com/angular/material/tree/master/sr...

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question