Selecting one column selects all and vice versa #818
Unanswered
saleemepoch
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.
-
So just to give you a bit of background on my set up:
I have Company as the parent set of models, and because the package doesn't support many to many relationships, yet, I am eager loading the needed relationships in builder(), and then in a separate function populating properties in the component, e.g.
$this->addresses, $this->contacts, etc....
These are all arrays with $company->id being the key, and the value being the related models.
So for related columns this is how I have it set up:
Now, if I toggle on 'City' column, all columns (except those belonging to the parent model), get toggled on and vice versa.
Any idea what is happening here and how to prevent this?
Beta Was this translation helpful? Give feedback.
All reactions