Power-Components / livewire-powergrid

⚡ PowerGrid generates modern, powerful and easy-to-customize data tables using Laravel Livewire.
https://livewire-powergrid.com
MIT License
1.52k stars 223 forks source link

[6.x] Added functionality to pass custom params to a normal select #1696

Closed johannesMEGABAD closed 2 months ago

johannesMEGABAD commented 2 months ago

⚡ PowerGrid - Pull Request

Welcome and thank you for your interest in contributing to our project!. You must use this template to submit a Pull Request or it will not be accepted.


Motivation

Description

This is for version 6.x

This pull requests is basically the same as this but instead for MultiSelectFilter it is for a normal SelectFilter.

It also allows the user to pass a new function named params() to a normal Filter::select. Just as the MultiSelectFilter there is the default option for "disableOptionAll" to either show or hide the option "All" in the select filter.

Documentation

This PR requires Documentation update?

luanfreitasdev commented 2 months ago

Thanks!