From 8485ea9774c715acca57b3bbab002dce1db7992a Mon Sep 17 00:00:00 2001 From: vulragrag-star Date: Tue, 10 Nov 2026 03:05:21 +0800 Subject: [PATCH] fix(frontend): use text input for peer default routing table (#770) PeerDefRoutingTable is a string on the backend, but the peer defaults input used type="number", so Vue sent a JSON number and saving the interface failed with "cannot unmarshal number into Go struct field Interface.PeerDefRoutingTable of type string". It also made the value "off" impossible to enter. Use type="text" like the interface routing table field. Fixes #769 Signed-off-by: Jason Wang --- frontend/src/components/InterfaceEditModal.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/frontend/src/components/InterfaceEditModal.vue b/frontend/src/components/InterfaceEditModal.vue index eeb98d5d..0ff180c8 100644 --- a/frontend/src/components/InterfaceEditModal.vue +++ b/frontend/src/components/InterfaceEditModal.vue @@ -618,7 +618,7 @@ async function del() {
- +