]> git.proxmox.com Git - pve-manager.git/commit
ui: add VM ComboSelector
authorThomas Lamprecht <t.lamprecht@proxmox.com>
Wed, 11 Oct 2017 10:09:41 +0000 (12:09 +0200)
committerWolfgang Bumiller <w.bumiller@proxmox.com>
Mon, 16 Oct 2017 12:54:00 +0000 (14:54 +0200)
commita86b4daf7bc19df6d654aa69093f2a1ab587ff2c
tree0577df33be7afe7c7b707f66bfffb0dcf0f8b3e5
parent50713765af3a830e0143a502ac3e0c2421b3794d
ui: add VM ComboSelector

this is a mixture of the multi select VMSelector and the single
select pveGuestIDSelector.
Useful when a single VM must be selected but also complementary
information should be shown to the user.

Most of the times the VMID is not really useful for an user as
numbers are harder to remember and to associate as names.
So a dialog which need a VMID (e.g. HA resource addition) forced the
user to lookup the Guest Name -> Guest VMID mapping and then enter it
correctly in the respective input field.

This can be improved by using a combo grid based selector which shows
additional information in the edit window itself, can be sorted and
filtered to quickly select a guest.

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
Acked-by: Dominik Csapak <d.csapak@proxmox.com>
www/manager6/form/VMSelector.js