From 74e1224a6a3f1cf942c024339ead248c9b9d7e53 Mon Sep 17 00:00:00 2001 From: Joe <104938042+lrljoe@users.noreply.github.com> Date: Thu, 18 May 2023 20:06:58 +0100 Subject: [PATCH] Alpine bulk actions cloak (#1217) * Interim Fix for Bulk Actions * AlpineJS BulkActions th Checkbox Fix * Reordering Test Fix * Fix Selected Item Count * CHANGELOG Amends --- CHANGELOG.md | 7 +++++++ resources/views/components/table/tr/bulk-actions.blade.php | 4 ++-- 2 files changed, 9 insertions(+), 2 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index db871814a..89a81cb82 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -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 diff --git a/resources/views/components/table/tr/bulk-actions.blade.php b/resources/views/components/table/tr/bulk-actions.blade.php index e5198b036..3eb147765 100644 --- a/resources/views/components/table/tr/bulk-actions.blade.php +++ b/resources/views/components/table/tr/bulk-actions.blade.php @@ -42,7 +42,7 @@ class="ml-1 text-blue-600 underline text-gray-700 text-sm leading-5 font-medium
@lang('You have selected') - + @lang('rows, do you want to select all') @if(!$simplePagination) {{ number_format($rows->total()) }} @endif @@ -107,7 +107,7 @@ class="btn btn-primary btn-sm"
@lang('You have selected') - + @lang('rows, do you want to select all') @if(!$simplePagination) {{ number_format($rows->total()) }} @endif