Filterable text field default behavior can be "where like contains" #4096
Unanswered
suleymanozev
asked this question in
Q&A
Replies: 1 comment 5 replies
-
|
Use Text::make('Email')->filterable(function ($request, $query, $value, $attribute) {
return $query->where($attribute, 'LIKE', $value);
}), |
Beta Was this translation helpful? Give feedback.
5 replies
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.
-
After all, it is a behavior that appeals to everyone. Even if it is equal or contains, it brings results. Some long text fields can be problematic.
Beta Was this translation helpful? Give feedback.
All reactions