public inbox for pve-devel@lists.proxmox.com
 help / color / mirror / Atom feed
* [PATCH proxmox-widget-toolkit] vtypes: config id: list '-' as allowed character in help text
@ 2026-05-21 10:05 Arthur Bied-Charreton
  0 siblings, 0 replies; only message in thread
From: Arthur Bied-Charreton @ 2026-05-21 10:05 UTC (permalink / raw)
  To: pve-devel

The regex allows '-' but the ConfigIdText did not list it as an allowed
character.

Signed-off-by: Arthur Bied-Charreton <a.bied-charreton@proxmox.com>
---
 src/Toolkit.js | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/Toolkit.js b/src/Toolkit.js
index c2ae90a..bd31b3c 100644
--- a/src/Toolkit.js
+++ b/src/Toolkit.js
@@ -127,7 +127,7 @@ Ext.apply(Ext.form.field.VTypes, {
     },
     ConfigIdText:
         gettext('Allowed characters') +
-        ": 'A-Z', 'a-z', '0-9', '_'<br />" +
+        ": 'A-Z', 'a-z', '0-9', '_', '-'<br />" +
         gettext('Minimum characters') +
         ': 2<br />' +
         gettext('Must start with') +
-- 
2.47.3




^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2026-05-21 10:05 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-05-21 10:05 [PATCH proxmox-widget-toolkit] vtypes: config id: list '-' as allowed character in help text Arthur Bied-Charreton

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
Service provided by Proxmox Server Solutions GmbH | Privacy | Legal