[pmg-devel] [PATCH pmg-gui v3] fix #4510: add filter box to many grids
Mira Limbeck
m.limbeck at proxmox.com
Wed Feb 21 15:57:13 CET 2024
On 2/21/24 15:47, Dominik Csapak wrote:
> namely relay domains, transports, trusted networks, smtp whitelist +
> when/what/who object grids.
>
> Adds a new 'FilterField', that takes a store and a list of columns to
> filter, and filters on every change.
>
> Signed-off-by: Dominik Csapak <d.csapak at proxmox.com>
> ---
> changes from v3:
> * always clear the old filters on the store when the value changes
> otherwise we only add filter but never remove them
>
> js/Makefile | 1 +
> js/MyNetworks.js | 5 ++++
> js/ObjectGroup.js | 11 ++++++++
> js/RelayDomains.js | 5 ++++
> js/Transport.js | 5 ++++
> js/form/FilterField.js | 57 ++++++++++++++++++++++++++++++++++++++++++
> 6 files changed, 84 insertions(+)
> create mode 100644 js/form/FilterField.js
>
lgtm
Tested-by: Mira Limbeck <m.limbeck at proxmox.com>
More information about the pmg-devel
mailing list