From 09c145366903c81245b83db16dbab0e54341f757 Mon Sep 17 00:00:00 2001 From: Samuel Lorch Date: Tue, 4 Apr 2023 00:12:16 +0200 Subject: [PATCH] Add missing keys --- client/src/definitions.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/client/src/definitions.ts b/client/src/definitions.ts index 6cbc556..8656d1a 100644 --- a/client/src/definitions.ts +++ b/client/src/definitions.ts @@ -33,7 +33,7 @@ export const editTypes: { [key: string]: { [key: string]: any } } = { { title: "Addressing", fields: [ - { key: "addressing_mode", label: "Addressing Mode", as: "PillBar", props: { options: [{ name: 'None', selected: true }, { name: 'Static' }, { name: 'DHCP' }] } }, + { key: "addressing_mode", label: "Addressing Mode", as: "PillBar", props: { options: [{ name: 'None', key: 'none' }, { name: 'Static', key: 'static' }, { name: 'DHCP', key: 'dhcp' }] } }, { key: "address", label: "Address", as: "TextBox", enabled: (values: any) => (values["addressing_mode"] == 1) }, { key: "comment", label: "Comment", as: "MultilineTextBox" }, ],