Web Form UI Freezing when Select from a Large Entity List?

1. What is the issue? Please be detailed.

I'm trying to implement a survey which selects a facility or site from a large list stored as an Entity List. Currently, this list is still not large enough to cause issues in ODK Collect, but it is already causing the web interface to freeze in ODK Web Forms.

Is there a way to handle this entity list or optimize it to prevent UI freezing, particularly in web forms?

2. What steps can we take to reproduce this issue?

Relevant rows in the XLS Forms are:

type name label hint required relevant appearance choice_filter
select_one countries country 1.02 Host country government Select assessment country. yes minimal search
select_one_from_file Sites.csv site 1.03 Select site / facility / reporting unit for this audit yes minimal search country=${country}

The Sites.csv file has approximately 15k sites per country.

3. What have you tried to fix the issue?

I have looked into the “dynamic selects” method described here, but this does not appear to be supported by ODK Web Forms.

4. Upload any forms or screenshots you can share publicly below.

I've reproduced the issue and can confirm it's a bug with the minimal and search appearances. If you remove both, performance gets better, but still not great.

@gareth is investigating what the problem might be and will report back.

Hi @Anthop

I'm been working on this today and found significant improvements that could be made to Web Forms (issue). Thanks for reporting it.

I'll let you know when the fix is released.

Gareth

Thank you so much! I appreciate your support.