You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I need to access a variable i passed in in the component
I add the variable here
Then i pass it on here
And pass it along again here
But no matter what i do, i can't seem to access $options here inside the query_builder
And i need to to customize the query_builder code to filter stuff based on that variable
Also i can't override query_builder here in the base class (it's just ignored), or i would have done it here
(yet you "can" override other settings)
Any ideas ?
The text was updated successfully, but these errors were encountered:
Avoid passing any options to the 3rd argument of the ->add() method as these won't be used during the Ajax call to fetch results. Instead, include all options inside the custom class (FoodAutocompleteField).
If i understand it right, you fall in this case. But there is a new way to pass options to query, look #1322
I need to access a variable i passed in in the component
I add the variable here
Then i pass it on here
And pass it along again here
But no matter what i do, i can't seem to access $options here inside the query_builder
And i need to to customize the query_builder code to filter stuff based on that variable
Also i can't override query_builder here in the base class (it's just ignored), or i would have done it here
(yet you "can" override other settings)
Any ideas ?
The text was updated successfully, but these errors were encountered: