We have an app which controls which option values in a drop down field are visible based on rules. In some cases, our customers have a large number of option values in a field and they wish to hide all bar a few of them (4500 option values and hide 4480 of them).
We call ZAF.invoke providing a JSON object with details of all the option values we wish to hide. This used to perform ok (maybe 6 months ago). It was never instant but the time taken to hide 4000+ option values was sub 1 second. Nowadays, our customer is complaining about Zendesk being unresponsive since the hide is now taking anything from 8 - 12 seconds and during that time, the browser is completely unresponsive. You cannot scroll, type into a comment, select a drop down or anything.
Can anything be done to either speed up the performance of hiding (or showing) many option values, or at least implement it in such a way that it does not hog the browser thread for an extended period of time.
We have implemented a simple test app. You nominate a drop down field that has lots of option values and then click a button to hide them all using the ZAF. When you click the button you can do nothing with the browser until it has finished.