im having the issue that my option list for a select tag is too long, somehow the list being too long is preventing the ability to search within the options using the keyboard on a tablet.
ive used twig to limit the amount it loads in to 200 and then i can search for the values. the odd part is that is only visually shows 50 options to the user to select from but when you type it offers all 200
however this present a new issue of, i need all the entries over 4000 to be selectable. i know theres many better ways to do this but the codebase im working off is horrible and 99% AI made by someoene who has no strong knowledge of advanced web apps.
these 4000 options are mostly subdivided by 22 overarching types. but theyre stored seperatly in the DB.
any insight into the best way to deal with this issue?
this is the snippet that shows how i limited it and the basic framework i have to work off
for context if needed:
this is an internal use website where you need to be logged in using 2FA
the backend uses PY(not my choice)
the main front end language is HTML with twig, ofc CSS and JS also used
tested it on chrome and opera on Android 16 running Lenovo ZUI 17.5.10.266
only tried it in chrome on PC
ill be glad to add additional information if needed