mirror of
https://github.com/speatzle/nfsense.git
synced 2025-05-10 18:38:22 +00:00
Use MultilineTextBox for Comments
This commit is contained in:
parent
285c3a3436
commit
17851a92e6
1 changed files with 7 additions and 7 deletions
|
@ -116,7 +116,7 @@ export const editTypes: { [key: string]: { [key: string]: any } } = {
|
||||||
'continue': { display: 'Continue'},
|
'continue': { display: 'Continue'},
|
||||||
}}},
|
}}},
|
||||||
counter: { is: 'CheckBox', label: 'Counter'},
|
counter: { is: 'CheckBox', label: 'Counter'},
|
||||||
comment: { is: 'TextBox', label: 'Comment'},
|
comment: { is: 'MultilineTextBox', label: 'Comment'},
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
'destination_nat_rules': {
|
'destination_nat_rules': {
|
||||||
|
@ -131,7 +131,7 @@ export const editTypes: { [key: string]: { [key: string]: any } } = {
|
||||||
dnat_address: { is: 'SingleSelect', label: 'Destination', props: { searchProvider: GetAddresses}},
|
dnat_address: { is: 'SingleSelect', label: 'Destination', props: { searchProvider: GetAddresses}},
|
||||||
dnat_service: { is: 'SingleSelect', label: 'Service', props: { searchProvider: GetServices}},
|
dnat_service: { is: 'SingleSelect', label: 'Service', props: { searchProvider: GetServices}},
|
||||||
counter: { is: 'CheckBox', label: 'Counter'},
|
counter: { is: 'CheckBox', label: 'Counter'},
|
||||||
comment: { is: 'TextBox', label: 'Comment'},
|
comment: { is: 'MultilineTextBox', label: 'Comment'},
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
'source_nat_rules': {
|
'source_nat_rules': {
|
||||||
|
@ -154,7 +154,7 @@ export const editTypes: { [key: string]: { [key: string]: any } } = {
|
||||||
},
|
},
|
||||||
}}},
|
}}},
|
||||||
counter: { is: 'CheckBox', label: 'Counter'},
|
counter: { is: 'CheckBox', label: 'Counter'},
|
||||||
comment: { is: 'TextBox', label: 'Comment'},
|
comment: { is: 'MultilineTextBox', label: 'Comment'},
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
|
@ -202,7 +202,7 @@ export const editTypes: { [key: string]: { [key: string]: any } } = {
|
||||||
},
|
},
|
||||||
'dhcp': { display: 'DHCP' },
|
'dhcp': { display: 'DHCP' },
|
||||||
}}},
|
}}},
|
||||||
comment: { is: 'TextBox', label: 'Comment'},
|
comment: { is: 'MultilineTextBox', label: 'Comment'},
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
'static_routes': {
|
'static_routes': {
|
||||||
|
@ -214,7 +214,7 @@ export const editTypes: { [key: string]: { [key: string]: any } } = {
|
||||||
gatway: { is: 'TextBox', label: 'Gateway'},
|
gatway: { is: 'TextBox', label: 'Gateway'},
|
||||||
destination: { is: 'TextBox', label: 'Destination'},
|
destination: { is: 'TextBox', label: 'Destination'},
|
||||||
metric: { is: 'NumberBox', label: 'Metric'},
|
metric: { is: 'NumberBox', label: 'Metric'},
|
||||||
comment: { is: 'TextBox', label: 'Comment'},
|
comment: { is: 'MultilineTextBox', label: 'Comment'},
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
|
@ -250,7 +250,7 @@ export const editTypes: { [key: string]: { [key: string]: any } } = {
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
}}},
|
}}},
|
||||||
comment: { is: 'TextBox', label: 'Comment'},
|
comment: { is: 'MultilineTextBox', label: 'Comment'},
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
'services': {
|
'services': {
|
||||||
|
@ -285,7 +285,7 @@ export const editTypes: { [key: string]: { [key: string]: any } } = {
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
}}},
|
}}},
|
||||||
comment: { is: 'TextBox', label: 'Comment'},
|
comment: { is: 'MultilineTextBox', label: 'Comment'},
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
|
|
Loading…
Add table
Reference in a new issue