There was an error while loading. Please reload this page.
1 parent a928621 commit 92c663cCopy full SHA for 92c663c
resources/views/livewire/datatables/checkbox.blade.php
@@ -3,7 +3,7 @@
3
type="checkbox"
4
wire:model="selected"
5
value="{{ $value }}"
6
- @if (in_array($value, $this->pinnedRecords)) checked @endif
+ @if (property_exists($this, 'pinnedRecords') && in_array($value, $this->pinnedRecords)) checked @endif
7
class="w-4 h-4 mt-1 text-blue-600 form-checkbox transition duration-150 ease-in-out"
8
/>
9
</div>
0 commit comments