From 8e78150db447fe5488ef2e30db63a64642872f73 Mon Sep 17 00:00:00 2001 From: VakarisZ Date: Wed, 30 Jan 2019 13:58:15 +0200 Subject: [PATCH] Front end input changed to text area --- .../cc/ui/src/components/pages/ConfigurePage.js | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/monkey/monkey_island/cc/ui/src/components/pages/ConfigurePage.js b/monkey/monkey_island/cc/ui/src/components/pages/ConfigurePage.js index 5915b3eaa..e154ba330 100644 --- a/monkey/monkey_island/cc/ui/src/components/pages/ConfigurePage.js +++ b/monkey/monkey_island/cc/ui/src/components/pages/ConfigurePage.js @@ -152,6 +152,18 @@ class ConfigurePageComponent extends AuthComponent { render() { let displayedSchema = {}; + const uiSchema = { + general: { + post_breach_actions: { + linux: { + "ui:widget": "textarea" + }, + windows: { + "ui:widget": "textarea" + } + } + } + }; if (this.state.schema.hasOwnProperty('properties')) { displayedSchema = this.state.schema['properties'][this.state.selectedSection]; displayedSchema['definitions'] = this.state.schema['definitions']; @@ -178,6 +190,7 @@ class ConfigurePageComponent extends AuthComponent { } { this.state.selectedSection ?