* [PATCH manager] ui: sdn: route map edit: make id and order required
@ 2026-05-19 14:40 Dominik Csapak
0 siblings, 0 replies; only message in thread
From: Dominik Csapak @ 2026-05-19 14:40 UTC (permalink / raw)
To: pve-devel
so that the UI does not let the user submit the form without them. The
API returns an error in any case, but catching this in the UI is better.
Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
---
www/manager6/sdn/RouteMapPanel.js | 2 ++
1 file changed, 2 insertions(+)
diff --git a/www/manager6/sdn/RouteMapPanel.js b/www/manager6/sdn/RouteMapPanel.js
index f7776768..ca427585 100644
--- a/www/manager6/sdn/RouteMapPanel.js
+++ b/www/manager6/sdn/RouteMapPanel.js
@@ -765,6 +765,7 @@ Ext.define('PVE.sdn.EditRouteMapEntryWindow', {
fieldLabel: gettext('Route Map ID'),
editable: true,
notFoundIsValid: true,
+ allowBlank: false,
bind: {
disabled: '{routeMapId}',
},
@@ -773,6 +774,7 @@ Ext.define('PVE.sdn.EditRouteMapEntryWindow', {
xtype: 'proxmoxintegerfield',
name: 'order',
fieldLabel: gettext('Order'),
+ allowBlank: false,
bind: {
disabled: '{order}',
},
--
2.47.3
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2026-05-19 14:41 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-05-19 14:40 [PATCH manager] ui: sdn: route map edit: make id and order required Dominik Csapak
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox