Use MultilineTextBox for Comments

This commit is contained in:
Samuel Lorch 2023-11-04 14:57:09 +01:00
parent 285c3a3436
commit 17851a92e6

View file

@ -116,7 +116,7 @@ export const editTypes: { [key: string]: { [key: string]: any } } = {
'continue': { display: 'Continue'},
}}},
counter: { is: 'CheckBox', label: 'Counter'},
comment: { is: 'TextBox', label: 'Comment'},
comment: { is: 'MultilineTextBox', label: 'Comment'},
},
},
'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_service: { is: 'SingleSelect', label: 'Service', props: { searchProvider: GetServices}},
counter: { is: 'CheckBox', label: 'Counter'},
comment: { is: 'TextBox', label: 'Comment'},
comment: { is: 'MultilineTextBox', label: 'Comment'},
},
},
'source_nat_rules': {
@ -154,7 +154,7 @@ export const editTypes: { [key: string]: { [key: string]: any } } = {
},
}}},
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' },
}}},
comment: { is: 'TextBox', label: 'Comment'},
comment: { is: 'MultilineTextBox', label: 'Comment'},
},
},
'static_routes': {
@ -214,7 +214,7 @@ export const editTypes: { [key: string]: { [key: string]: any } } = {
gatway: { is: 'TextBox', label: 'Gateway'},
destination: { is: 'TextBox', label: 'Destination'},
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': {
@ -285,7 +285,7 @@ export const editTypes: { [key: string]: { [key: string]: any } } = {
},
},
}}},
comment: { is: 'TextBox', label: 'Comment'},
comment: { is: 'MultilineTextBox', label: 'Comment'},
},
},
},