[pve-devel] applied: [PATCH widget-toolkit] form: combo grid: fix selection after filtering
Thomas Lamprecht
t.lamprecht at proxmox.com
Tue Mar 29 17:52:35 CEST 2022
On 28.03.22 15:53, Dominik Csapak wrote:
> firing 'refresh' in 'clearLocalFilter' was wrong, since that triggers
> too often, for example when selecting an entry (since the field lost
> focus). This lead to the picker refreshing and not registering the
> click and thus not selecting the desired entry.
>
> Instead refresh the view when we really need it: when the picker is shown.
> The filter is already gone, but the picker grid does not know this yet,
> so we fire the event then.
>
> Fixes: 7e47328 ("Combogrid: clear filter on blur")
>
> Signed-off-by: Dominik Csapak <d.csapak at proxmox.com>
> ---
> src/form/ComboGrid.js | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
>
applied, thanks!
More information about the pve-devel
mailing list