]> git.proxmox.com Git - proxmox-widget-toolkit.git/commit
fix #4585 : toolkit: configid type: add missing "-" character support
authorAlexandre Derumier <aderumier@odiso.com>
Sat, 11 Mar 2023 13:02:42 +0000 (14:02 +0100)
committerThomas Lamprecht <t.lamprecht@proxmox.com>
Sat, 11 Mar 2023 16:29:16 +0000 (17:29 +0100)
commit0c502573622528ea3649a63f4fbc821d812b176f
tree686feef28d3c48bd91e3a886b4c8d036663c0583
parent8d3241923454a94d0cc2ab0771e3e44f4b7fa64f
fix #4585 : toolkit: configid type: add missing "-" character support

JsonSchema is already ok:
$CONFIGID_RE = qr/[a-z][a-z0-9_-]+/i;

This is blocking creation of snapshot name with "-" in gui.
(works fine command line)

Signed-off-by: Alexandre Derumier <aderumier@odiso.com>
src/Toolkit.js