mirror of
https://git.proxmox.com/git/proxmox-widget-toolkit
synced 2025-08-04 15:30:08 +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.IP6_dotnotation_match.test(v);
|
||||
},
|
||||
|
||||
HostPortText: gettext('Not a valid hosts'),
|
||||
HostPortText: gettext('Host/IP address or optional port is invalid'),
|
||||
|
||||
HostList: function(v) {
|
||||
let list = v.split(/[ ,;]+/);
|
||||
|
Loading…
Reference in New Issue
Block a user