]> git.proxmox.com Git - pve-manager.git/commit - www/manager6/form/IPRefSelector.js
ui: IPRef field: allow all valid IPs, even if not in the store
authorThomas Lamprecht <t.lamprecht@proxmox.com>
Fri, 30 Aug 2019 16:55:51 +0000 (18:55 +0200)
committerThomas Lamprecht <t.lamprecht@proxmox.com>
Fri, 30 Aug 2019 16:55:58 +0000 (18:55 +0200)
commita02348b95359720bf6ab03a21524936a9d77eef5
tree0dc0f0a6b6b32e8a7bd7f356fa8f8c678bac5a7c
parent4a512d7a2e0fda6b8424cbc3c26a0a9c28435811
ui: IPRef field: allow all valid IPs, even if not in the store

since commit 1ccb53ecdbd69a0e4c57a6d861da1918d3625e08 from widget
toolkit[0] we enforce by default that an entered value needs to be in
the backing data store, else the field is marked invalid.

But, for the firewall source/destination IP selector we do not care
if it's in the store, which is only loaded for convenience and to
allow selecting defined aliases/ipsets

[0]: https://git.proxmox.com/?p=proxmox-widget-toolkit.git;a=commit;h=1ccb53ecdbd69a0e4c57a6d861da1918d3625e08

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
www/manager6/form/IPRefSelector.js