[pve-devel] applied: [PATCH widget-toolkit 1/1] inputpanel: improve validitychange check for advanced fields

Thomas Lamprecht t.lamprecht at proxmox.com
Sat Mar 11 17:33:41 CET 2023


Am 10/03/2023 um 15:08 schrieb Dominik Csapak:
> instead of only checking the validity of the advanced items when
> the form validity changed as a whole, add a validitychange listener
> to each field in the advanced section.
> 
> This improves the behaviour such that everytime an advanced field gets
> invalid the items are show, not only when the form was valid before.
> 
> Signed-off-by: Dominik Csapak <d.csapak at proxmox.com>
> ---
> we need this for the next patch for manager to work correctly,
> but i guess this can happen on other panels too, just harder to trigger
> 
>  src/window/Edit.js | 27 ++++++++++++---------------
>  1 file changed, 12 insertions(+), 15 deletions(-)
> 
>

applied, with Aaron's T-b, thanks!





More information about the pve-devel mailing list