diff --git a/client/src/definitions.ts b/client/src/definitions.ts index a36ca29..4171484 100644 --- a/client/src/definitions.ts +++ b/client/src/definitions.ts @@ -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'}, }, }, },