Skip to content

Commit

Permalink
change wire.input.lazy to debounce
Browse files Browse the repository at this point in the history
  • Loading branch information
luanfreitasdev committed Aug 28, 2021
1 parent 592c4b4 commit fd6a971
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
<path d="M11.742 10.344a6.5 6.5 0 1 0-1.397 1.398h-.001c.03.04.062.078.098.115l3.85 3.85a1 1 0 0 0 1.415-1.414l-3.85-3.85a1.007 1.007 0 0 0-.115-.1zM12 6.5a5.5 5.5 0 1 1-11 0 5.5 5.5 0 0 1 11 0z"></path>
</svg>
</span>
<input wire:model.debounce.300ms="search" type="text"
<input wire:model.debounce.600ms="search" type="text"
class="col-12 col-sm-8 form-control livewire_powergrid_input"
placeholder="{{ trans('livewire-powergrid::datatable.placeholders.search') }}">
</div>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
<x-livewire-powergrid::icons.search/>
</span>
</span>
<input wire:model.debounce.300ms="search" type="text"
<input wire:model.debounce.600ms="search" type="text"
style="padding-left: 36px !important;"
class="block w-full float-right bg-white-200 text-gray-700 border border-gray-300 rounded py-2 px-3 leading-tight focus:outline-none focus:bg-white focus:border-gray-500 pl-10 dark:bg-gray-500 dark:text-gray-200 dark:placeholder-gray-200 dark:border-gray-500"
placeholder="{{ trans('livewire-powergrid::datatable.placeholders.search') }}">
Expand Down

0 comments on commit fd6a971

Please sign in to comment.