* [PATCH pve-manager] ui: custom cpu model creation: add max length for name field
@ 2026-05-20 5:35 Arthur Bied-Charreton
2026-05-20 11:51 ` applied: " Thomas Lamprecht
0 siblings, 1 reply; 2+ messages in thread
From: Arthur Bied-Charreton @ 2026-05-20 5:35 UTC (permalink / raw)
To: pve-devel
The backend enforces a maximum length of 40 characters for the name
field, make the UI also reflect this.
Reported-by: Michael Köppl <m.koeppl@proxmox.com>
Signed-off-by: Arthur Bied-Charreton <a.bied-charreton@proxmox.com>
---
www/manager6/dc/CPUTypeEdit.js | 1 +
1 file changed, 1 insertion(+)
diff --git a/www/manager6/dc/CPUTypeEdit.js b/www/manager6/dc/CPUTypeEdit.js
index 62dad796..1b56686a 100644
--- a/www/manager6/dc/CPUTypeEdit.js
+++ b/www/manager6/dc/CPUTypeEdit.js
@@ -53,6 +53,7 @@ Ext.define('PVE.dc.CPUTypeEdit', {
value: '{cputype}',
},
name: 'cputype',
+ maxLength: 40,
renderer: (val) => val.replace(/^custom-/, ''),
allowBlank: false,
},
--
2.47.3
^ permalink raw reply related [flat|nested] 2+ messages in thread
* applied: [PATCH pve-manager] ui: custom cpu model creation: add max length for name field
2026-05-20 5:35 [PATCH pve-manager] ui: custom cpu model creation: add max length for name field Arthur Bied-Charreton
@ 2026-05-20 11:51 ` Thomas Lamprecht
0 siblings, 0 replies; 2+ messages in thread
From: Thomas Lamprecht @ 2026-05-20 11:51 UTC (permalink / raw)
To: pve-devel, Arthur Bied-Charreton
On Wed, 20 May 2026 07:35:16 +0200, Arthur Bied-Charreton wrote:
> The backend enforces a maximum length of 40 characters for the name
> field, make the UI also reflect this.
Applied, thanks!
[1/1] ui: custom cpu model creation: add max length for name field
commit: 2316ce41e04ef74591ed7b073216258740520898
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2026-05-20 11:55 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-05-20 5:35 [PATCH pve-manager] ui: custom cpu model creation: add max length for name field Arthur Bied-Charreton
2026-05-20 11:51 ` applied: " Thomas Lamprecht
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.