You should use another type of input widget. Either use a form based reference selector or use this widget: https://appstore.mendix.com/link/app/Input%20Reference%20Selector.
Note that a dropdown with thousend items is usually not desirable from a usability perspective as well.