Title: Bug in autocomplete
Last modified: March 31, 2020

---

# Bug in autocomplete

 *  Resolved [svaults](https://wordpress.org/support/users/svaults/)
 * (@svaults)
 * [6 years, 4 months ago](https://wordpress.org/support/topic/bug-in-autocomplete/)
 * It appears the autocomplete field has a bug in this.
 * Hello, I have a bidirectional relationship field Members (User single) and Organization(
   Organization multi).
 * From the organization page I can add users and it works and saves to the database.
   However the newly added users don’t show up in the *autocomplete* input field
   on reload, even though the database entries are made correctly and on the User
   page itself, it shows the organization.
 * If I use a multiselect field instead of an autocomplete, I can see the Users 
   that belong to that Organization.

Viewing 4 replies - 1 through 4 (of 4 total)

 *  Thread Starter [svaults](https://wordpress.org/support/users/svaults/)
 * (@svaults)
 * [6 years, 4 months ago](https://wordpress.org/support/topic/bug-in-autocomplete/#post-12604348)
 * Also I noticed in the Advanced section in Organizations Pods settings under visibility
   it lists “Restrict access by role”. If I check a role and leave Administrator
   unchecked, I can still see that field information in the edit Organization page.
 * In addition, under “Additional Field Options” > “Limit list to role”, if I check
   two valid User roles I created “Assessor” and “Organization Admin”, if I visit
   the edit Organization page, I can add Assessors and Organization Admins, but 
   when I reload the page, they don’t show up in the list. If I go back and deselect“
   Limit list to role”, the previously added Users magically appear.
 * It appears there’s some kind of filtering bug going on here, maybe related to
   the original ticket post above.
 *  Thread Starter [svaults](https://wordpress.org/support/users/svaults/)
 * (@svaults)
 * [6 years, 4 months ago](https://wordpress.org/support/topic/bug-in-autocomplete/#post-12604403)
 * Another update to my second post, the “Limit list to role” bug described earlier
   doesn’t exist with the checkbox AND multi select field but does exist with the
   List View AND Autocomplete fields. Strangely, with the Autocomplete field, it
   shows 2 of the 3 Users belonging to the Organization, whereas the List View shows
   none (and the checkbox and multi select show all 3 selected = correct).
 * Strange
 *  Thread Starter [svaults](https://wordpress.org/support/users/svaults/)
 * (@svaults)
 * [6 years, 4 months ago](https://wordpress.org/support/topic/bug-in-autocomplete/#post-12604405)
 * By the way, the original bug has existed since at least April 25, 2019. It was
   reported then by my client but I didn’t have a maintenance contract to look into
   it until recently.
 * Thanks
 *  Plugin Contributor [Jim True](https://wordpress.org/support/users/jimtrue/)
 * (@jimtrue)
 * [6 years, 4 months ago](https://wordpress.org/support/topic/bug-in-autocomplete/#post-12658278)
 * If you feel this is a bug, please report it through our proper bug process, not
   in the support forums.
 * Please file a bug report at: [https://github.com/pods-framework/pods/issues/new](https://github.com/pods-framework/pods/issues/new).
   Include any relevant screenshots, your process of how you got the error/problem
   and any relevant code. Thanks!

Viewing 4 replies - 1 through 4 (of 4 total)

The topic ‘Bug in autocomplete’ is closed to new replies.

 * ![](https://ps.w.org/pods/assets/icon.svg?rev=3286397)
 * [Pods - Custom Content Types and Fields](https://wordpress.org/plugins/pods/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/pods/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/pods/)
 * [Active Topics](https://wordpress.org/support/plugin/pods/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/pods/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/pods/reviews/)

## Tags

 * [bidirectional](https://wordpress.org/support/topic-tag/bidirectional/)

 * 4 replies
 * 2 participants
 * Last reply from: [Jim True](https://wordpress.org/support/users/jimtrue/)
 * Last activity: [6 years, 4 months ago](https://wordpress.org/support/topic/bug-in-autocomplete/#post-12658278)
 * Status: resolved