formio.js icon indicating copy to clipboard operation
formio.js copied to clipboard

[Select] Choices JS - Brower freezing with a large dataset of values

Open Aiso786 opened this issue 9 years ago • 4 comments

Hello guys, We have an issue with a Select (i've seen that Formio is using Choices JS) receiving a large amount of values (700 rows). It takes some time for the Select to render and meanwhile the browser is freezing.

Do you have an idea ? I have tried to look into the code. Disabling the sort in the configuration helps a little bit but the browser is still freezing.

Thank you very much for your help.

Aiso786 avatar Apr 25 '17 13:04 Aiso786

I am able to reproduce this, but it is an issue with the choices.js library. What I may do is have an option to not use Choices.js but rather just use a default select dropdown list to see if that fixes this problem.

travist avatar May 23 '17 13:05 travist

Hello, yes with another select it is working fine (see React-formio which is using react-widgets).

Aiso786 avatar May 23 '17 13:05 Aiso786

Fixed since the v2.24.6, so i close this issue.

Aiso786 avatar Dec 07 '17 11:12 Aiso786

@travist this is still exists and reported to ChoicesJS owners 1, 2, 3, 4.

Is there any workaround to avoid such freezing? Thanks.

abarrak avatar Mar 03 '20 10:03 abarrak