• Resolved svaults

    (@svaults)


    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

    (@svaults)

    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

    (@svaults)

    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

    (@svaults)

    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

    (@jimtrue)

    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. 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.