]> git.proxmox.com Git - pve-manager.git/commit
ui: clone: validate name
authorFiona Ebner <f.ebner@proxmox.com>
Mon, 17 Apr 2023 07:09:13 +0000 (09:09 +0200)
committerThomas Lamprecht <t.lamprecht@proxmox.com>
Mon, 24 Apr 2023 10:09:52 +0000 (12:09 +0200)
commit54fbdcd1c075dca5b831745e5da679b946efe7cb
tree91aaaf238811ff3b0fdd974bfce93c8e9cf05744
parent0d1108b26c891e1e831b29651131114d3f414277
ui: clone: validate name

As reported in the community forum[0], as opposed to VM/LXC creation,
there is no validation for the name in the clone dialog. Use the same
validation as the guest creation wizards do to catch errors early,
before sending the API request.

[0]: https://forum.proxmox.com/threads/125883/#post-549304

Signed-off-by: Fiona Ebner <f.ebner@proxmox.com>
www/manager6/window/Clone.js