You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: CHANGELOG.md
+5-2Lines changed: 5 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -2,7 +2,10 @@
2
2
3
3
All notable changes to `laravel-livewire-tables` will be documented in this file
4
4
5
-
## UNRELEASED
5
+
## [v3.2.3] - 2024-03-01
6
+
### New Features
7
+
- Add capability to customise colors/styling on the Pagination Per-Page Dropdown by @lrljoe in https://github.com/rappasoft/laravel-livewire-tables/pull/1677
8
+
6
9
### Docs
7
10
- Amend Lifecycle Hooks document to use "public" rather than "protected" methods
Copy file name to clipboardExpand all lines: docs/pagination/available-methods.md
+35Lines changed: 35 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -228,3 +228,38 @@ public function configure(): void
228
228
$this->setDisplayPaginationDetailsDisabled();
229
229
}
230
230
```
231
+
232
+
## setPerPageFieldAttributes
233
+
Allows for customisation of the appearance of the "Per Page" dropdown
234
+
235
+
Note that this utilises a refreshed approach for attributes, and allows for appending to, or replacing the styles and colors independently, via the below methods.
236
+
237
+
### default-colors
238
+
Setting to false will disable the default colors for the Per Page dropdown, the default colors are:
'class' => 'border-red-300 focus:border-indigo-300 focus:ring-indigo-200 dark:bg-red-700 dark:text-white dark:border-red-600', // Add these classes to the dropdown
261
+
'default-colors' => false, // Do not output the default colors
262
+
'default-styles' => true, // Output the default styling
0 commit comments