Skip to content

Commit e50629f

Browse files
committed
Add wire:ignore.self and wire:model.stop
1 parent cd69e9b commit e50629f

File tree

3 files changed

+4
-3
lines changed

3 files changed

+4
-3
lines changed

resources/views/tailwind/includes/filter-type-date.blade.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<div class="flex rounded-md shadow-sm mt-1">
22
<input
3-
wire:model="filters.{{ $key }}"
3+
wire:model.stop="filters.{{ $key }}"
44
wire:key="filter-{{ $key }}"
55
id="filter-{{ $key }}"
66
type="date"

resources/views/tailwind/includes/filter-type-select.blade.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<div class="mt-1 relative rounded-md shadow-sm">
22
<select
3-
wire:model="filters.{{ $key }}"
3+
wire:model.stop="filters.{{ $key }}"
44
wire:key="filter-{{ $key }}"
55
id="filter-{{ $key }}"
66
class="rounded-md shadow-sm block w-full pl-3 pr-10 py-2 text-base leading-6 border-gray-300 focus:outline-none focus:border-indigo-300 focus:shadow-outline-indigo sm:text-sm sm:leading-5"

resources/views/tailwind/includes/filters.blade.php

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ class="inline-flex justify-center w-full rounded-md border border-gray-300 shado
2323
</span>
2424
@endif
2525

26-
<svg class="-mr-1 ml-2 h-5 w-5" xmlns="http://www.w3.org/2000/svg" class="h-6 w-6" fill="none"
26+
<svg class="-mr-1 ml-2 h-5 w-5" xmlns="http://www.w3.org/2000/svg" fill="none"
2727
viewBox="0 0 24 24" stroke="currentColor">
2828
<path stroke-linecap="round" stroke-linejoin="round" stroke-width="2"
2929
d="M3 4a1 1 0 011-1h16a1 1 0 011 1v2.586a1 1 0 01-.293.707l-6.414 6.414a1 1 0 00-.293.707V17l-4 4v-6.586a1 1 0 00-.293-.707L3.293 7.293A1 1 0 013 6.586V4z"/>
@@ -32,6 +32,7 @@ class="inline-flex justify-center w-full rounded-md border border-gray-300 shado
3232
</div>
3333

3434
<div
35+
wire:ignore.self
3536
x-cloak
3637
x-show="open"
3738
x-transition:enter="transition ease-out duration-100"

0 commit comments

Comments
 (0)