mirror of
https://git.proxmox.com/git/proxmox-widget-toolkit
synced 2025-08-06 18:28:45 +00:00
HostPort vtype: improve error message
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
This commit is contained in:
parent
0f687dd7b5
commit
a9bea10488
@ -152,8 +152,7 @@ Ext.apply(Ext.form.field.VTypes, {
|
|||||||
Proxmox.Utils.HostPortBrackets_match.test(v) ||
|
Proxmox.Utils.HostPortBrackets_match.test(v) ||
|
||||||
Proxmox.Utils.IP6_dotnotation_match.test(v);
|
Proxmox.Utils.IP6_dotnotation_match.test(v);
|
||||||
},
|
},
|
||||||
|
HostPortText: gettext('Host/IP address or optional port is invalid'),
|
||||||
HostPortText: gettext('Not a valid hosts'),
|
|
||||||
|
|
||||||
HostList: function(v) {
|
HostList: function(v) {
|
||||||
let list = v.split(/[ ,;]+/);
|
let list = v.split(/[ ,;]+/);
|
||||||
|
Loading…
Reference in New Issue
Block a user