Overview
TheTextFilter class provides a text input filter that applies a LIKE query with wildcards to search the specified database field.
Creating a TextFilter
Available Methods
label
placeholder
key
Overrides the internal key used for the filter (defaults to field name with dots replaced by underscores).
Custom key identifier
default
initialValue
Sets an initial value that is pre-applied when the table first loads.
The initial value to apply
filter
Provides a custom query callback to override the default filter behavior.
A closure that receives
Builder $query and mixed $value and returns the modified BuildergroupClass
labelClass
inputClass
Default Behavior
By default,TextFilter applies a LIKE query with wildcards on both sides: