Duplicate filter instances update each other despite unique keys #6218
Unanswered
matthewjumpsoffbuildings
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Description:
I have a Resource with 2 HasMany fields, both pointing to the same other Resource. Obviously both HasMany panels will have the same filters as each other, so I have modified the
key()
function of each filter to append theviaRelationship
string to the key to ensure uniqueness, however despite this when I edit a filter on one panel, it updates the filter on the other as if they were still connected.If I look in the response of each relationships filter request, I see the keys are there (for some reason as the class property, but that seems to be where
key()
is written to):and
Why would this still be happening given the unique keys? Why are the js components updating each other?
Beta Was this translation helpful? Give feedback.
All reactions