Skip to content

Commit

Permalink
Alpine bulk actions cloak (#1217)
Browse files Browse the repository at this point in the history
* Interim Fix for Bulk Actions

* AlpineJS BulkActions th Checkbox Fix

* Reordering Test Fix

* Fix Selected Item Count

* CHANGELOG Amends
  • Loading branch information
lrljoe committed May 18, 2023
1 parent 81e4121 commit 74e1224
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 2 deletions.
7 changes: 7 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,13 @@ All notable changes to `laravel-livewire-tables` will be documented in this file

## [Unreleased]

### Fixes
- Bulk Actions (AlpineJS)
- Moving Table Head Checkbox to AlpineJS
- Using AlpineJS for calculating if all items have been selected
- Correcting missing x-cloak


## [2.13.0] - 2023-05-17

### Changed
Expand Down
4 changes: 2 additions & 2 deletions resources/views/components/table/tr/bulk-actions.blade.php
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ class="ml-1 text-blue-600 underline text-gray-700 text-sm leading-5 font-medium
<div wire:key="some-selected-{{ $table }}">
<span>
@lang('You have selected')
<strong><span x-text="selectedCount"></span></strong>
<strong><span x-text="selectedItems.length"></span></strong>
@lang('rows, do you want to select all')
@if(!$simplePagination) <strong>{{ number_format($rows->total()) }}</strong> @endif
</span>
Expand Down Expand Up @@ -107,7 +107,7 @@ class="btn btn-primary btn-sm"
<div wire:key="some-selected-{{ $table }}">
<span>
@lang('You have selected')
<strong><span x-text="selectedCount"></span></strong>
<strong><span x-text="selectedItems.length"></span></strong>
@lang('rows, do you want to select all')
@if(!$simplePagination) <strong>{{ number_format($rows->total()) }}</strong> @endif
</span>
Expand Down

0 comments on commit 74e1224

Please sign in to comment.