diff --git a/portal-ui/src/screens/Console/Common/FormComponents/common/styleLibrary.ts b/portal-ui/src/screens/Console/Common/FormComponents/common/styleLibrary.ts
index 5cca235a2..e195d5129 100644
--- a/portal-ui/src/screens/Console/Common/FormComponents/common/styleLibrary.ts
+++ b/portal-ui/src/screens/Console/Common/FormComponents/common/styleLibrary.ts
@@ -15,6 +15,7 @@
// along with this program. If not, see
.
// This object contains variables that will be used across form components.
+
export const fieldBasic = {
inputLabel: {
fontWeight: 500,
@@ -27,5 +28,8 @@ export const fieldBasic = {
display: "flex",
alignItems: "center",
marginBottom: 10
+ },
+ tooltipContainer: {
+ marginLeft: 5
}
};
diff --git a/portal-ui/src/screens/Console/Configurations/ConfTargetGeneric.tsx b/portal-ui/src/screens/Console/Configurations/ConfTargetGeneric.tsx
index 52757687a..98f8e363c 100644
--- a/portal-ui/src/screens/Console/Configurations/ConfTargetGeneric.tsx
+++ b/portal-ui/src/screens/Console/Configurations/ConfTargetGeneric.tsx
@@ -19,10 +19,11 @@ import { createStyles, Theme, withStyles } from "@material-ui/core/styles";
import Grid from "@material-ui/core/Grid";
import InputBoxWrapper from "../Common/FormComponents/InputBoxWrapper/InputBoxWrapper";
import RadioGroupSelector from "../Common/FormComponents/RadioGroupSelector/RadioGroupSelector";
-import { KVField } from "./types";
+import { IElementValue, KVField } from "./types";
+import CSVMultiSelector from "../Common/FormComponents/CSVMultiSelector/CSVMultiSelector";
interface IConfGenericProps {
- onChange: (newValue: Map
) => void;
+ onChange: (newValue: IElementValue[]) => void;
fields: KVField[];
classes: any;
}
@@ -34,100 +35,92 @@ const ConfTargetGeneric = ({
fields,
classes
}: IConfGenericProps) => {
- //Local States
+ const [valueHolder, setValueHolder] = useState([]);
+ const fieldsElements = !fields ? [] : fields;
- const [keyValues, setKeyValues] = useState