Home › Forums › Bug Reports › Page Link and Post Object Field Select2 Search Not Working › Reply To: Page Link and Post Object Field Select2 Search Not Working
Ok, just did a test on a local installation with a large batch of dummy user accounts. The search functionality did work for the user field.
However, I noticed that field behaves differently than the others. It preloads all of the users into the select box, unlike the other fields, which only load 20 at a time. Then, more are loaded dynamically as you scroll.
That was confirmed after comparing the source of the user field with the others.
So, I could modify the other fields to load all data, but I’d prefer not to. I’d prefer to have it search/load everything only when I actually type in the search box.
Any thoughts on that?
Welcome to the Advanced Custom Fields community forum.
Browse through ideas, snippets of code, questions and answers between fellow ACF users
Helping others is a great way to earn karma, gain badges and help ACF development!
We use cookies to offer you a better browsing experience, analyze site traffic and personalize content. Read about how we use cookies and how you can control them in our Privacy Policy. If you continue to use this site, you consent to our use of cookies.