{
}
multiline = data.name.startsWith("${") && data.name.endsWith("}") ? true : multiline
-
+
+ const description = data.description === undefined ? "" : data?.description;
+
+ const tooltipDescription = (
+
+
+
+ {tmpitem.charAt(0).toUpperCase() + tmpitem.slice(1)}
+
+ {
+ event.preventDefault();
+ event.stopPropagation();
+ }}
+
+ onClick={() => {
+ setUiBox("closed")
+ const inputElement = document.getElementById(uiBox);
+ if (inputElement) {
+ inputElement.focus();
+ }
+ }}>
+
+
+
+
+
+
+ Required: {data.required === true || data.configuration === true ? "True" : "False"}
+
+
+ Description: {description}
+
+
+ Ex. : {data?.example.length > 0 ? data.example : "No example available"}
+
+
+
+ );
+
var datafield = (
+
{
handleParamChange(event, count, data)
}}
helperText={returnHelperText(data.name, data.value)}
+ onFocus={(event) => {
+ setUiBox(event.target.id)
+ console.log(event.target.id)
+
+ }}
onBlur={(event) => {
baseHelperText = calculateHelpertext(event.target.value)
if (setLastSaved !== undefined) {
setLastSaved(false)
}
+ setUiBox("closed")
}}
/>
+
);
// Finds headers from a string to be used for autocompletion
@@ -3904,24 +4033,6 @@ const ParsedAction = (props) => {
);
};
- const description =
- data.description === undefined ? "" : data.description;
- const tooltipDescription = (
-
-
- - Required:{" "}
- {data.required === true || data.configuration === true
- ? "True"
- : "False"}
-
-
- - Example: {data.example}
-
-
- - Description: {description}
-
-
- );
//var itemColor = "#f85a3e"
//if (!data.required) {
@@ -4001,9 +4112,7 @@ const ParsedAction = (props) => {
marginBottom: "auto",
}}
>
-
{tmpitem}
-
{/*selectedActionParameters[count].options !== undefined && selectedActionParameters[count].options !== null && selectedActionParameters[count].options.length > 0 ? null :