mirror of
https://github.com/speatzle/nfsense.git
synced 2025-05-11 02:48:21 +00:00
Add missing keys
This commit is contained in:
parent
e3a488ccf5
commit
09c1453669
1 changed files with 1 additions and 1 deletions
|
@ -33,7 +33,7 @@ export const editTypes: { [key: string]: { [key: string]: any } } = {
|
||||||
{
|
{
|
||||||
title: "Addressing",
|
title: "Addressing",
|
||||||
fields: [
|
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: "address", label: "Address", as: "TextBox", enabled: (values: any) => (values["addressing_mode"] == 1) },
|
||||||
{ key: "comment", label: "Comment", as: "MultilineTextBox" },
|
{ key: "comment", label: "Comment", as: "MultilineTextBox" },
|
||||||
],
|
],
|
||||||
|
|
Loading…
Add table
Reference in a new issue