]> git.proxmox.com Git - proxmox-widget-toolkit.git/commit
input panel: improve validity change check for advanced fields
authorDominik Csapak <d.csapak@proxmox.com>
Fri, 10 Mar 2023 14:08:07 +0000 (15:08 +0100)
committerThomas Lamprecht <t.lamprecht@proxmox.com>
Sat, 11 Mar 2023 16:32:15 +0000 (17:32 +0100)
commitb2471e89d06f95329f286d39a3c8798699eecc9c
treedaef21b01a1ae7be596c4232c642c6647262c40b
parent0c502573622528ea3649a63f4fbc821d812b176f
input panel: improve validity change check for advanced fields

instead of only checking the validity of the advanced items when the
form validity changed as a whole, add a validity change listener to
each field in the advanced section.

This improves the behaviour such that every time an advanced field
gets invalid the items are show, not only when the form was valid
before.

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
Tested-By: Aaron Lauterer <a.lauterer@proxmox.com>
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
src/window/Edit.js