Skip to content

Commit

Permalink
Merge pull request #15235 from borjajimnz/hotfix/13071_maxlenght_search
Browse files Browse the repository at this point in the history
fix: add maxlenght 1000 to global search & table search 3.x
  • Loading branch information
danharrin authored Jan 4, 2025
2 parents 82fe3dd + 40e4551 commit 86db630
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@
<x-filament::input
autocomplete="off"
inline-prefix
maxlength="1000"
:placeholder="__('filament-panels::global-search.field.placeholder')"
type="search"
wire:key="global-search.field.input"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@
(new ComponentAttributeBag)->merge([
'autocomplete' => 'off',
'inlinePrefix' => true,
'maxlength' => 1000,
'placeholder' => $placeholder,
'type' => 'search',
'wire:key' => $this->getId() . '.table.' . $wireModel . '.field.input',
Expand Down

0 comments on commit 86db630

Please sign in to comment.