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>
This commit is contained in:
Thomas Lamprecht
2019-08-30 18:55:51 +02:00
parent 4a512d7a2e
commit a02348b953

View File

@ -10,6 +10,7 @@ Ext.define('PVE.form.IPRefSelector', {
valueField: 'ref',
displayField: 'ref',
notFoundIsValid: true,
initComponent: function() {
var me = this;