Open adleviton opened 5 years ago
Issue Label Bot is not confident enough to auto-label this issue. See dashboard for more details.
This is expected behavior. The selected users are probably not part of the roles you've selected so they get filtered out.
If you are trying to control access to this field based on the user role then please go to the "Advanced" tab.
I think I'm still encountering an issue. For example the user "Nursing Education" has a role of "Office Admin". The Pod Field has "Office Admin" checked, but it does not show up when editing a Pod Item.
I tried to reproduce this as closely as possible and was unable to. At first I thought the issue would be related to the large number of users with that role but I created 250 users and still couldn't reproduce it.
The Autocomplete field behaves differently when there are more than 30 items, it switches to using AJAX instead of having the data preloaded.
What are you typing into the autocomplete in order to match 'Nursing Education'? Can you use your browsers development tool to see the AJAX query that is being sent and what is received? The query generated should go to 'admin-ajax.php?pods_ajax=1'
Finally got back to this. Thanks for the feedback so far.
The ajax seems to be working fine. I can type a few letters from beginning or end of alphabet, and the users show up. What I'm seeing now is that when I hit "Update", and the page refreshes, then field is blank. If I uncheck all the items in "Limit list to Role(s)" like in the image above, and refresh the page, then the value reappears.
Describe the bug
Expected behavior Limiting user roles should not interfere with autocomplete
Screenshots
Pods Version
2.7.15
WordPress Environment
Possible Workaround Only seems to happen with "autocomplete". Checkbox and multi select seem unaffected.