You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@@ -25,14 +25,6 @@ export function JSFunctionEntry(props) {
25
25
field: field,
26
26
isEdited: isTextAreaEntryEdited,
27
27
isDefaultVisible: (field)=>field.type==='script'
28
-
},
29
-
{
30
-
id: 'on-load-only',
31
-
component: OnLoadOnlyEntry,
32
-
editField: editField,
33
-
field: field,
34
-
isEdited: isToggleSwitchEntryEdited,
35
-
isDefaultVisible: (field)=>field.type==='script'
36
28
}
37
29
];
38
30
@@ -76,7 +68,7 @@ function FunctionParameters(props) {
76
68
id,
77
69
label: 'Function parameters',
78
70
tooltip,
79
-
description: 'Define the parameters to pass to the javascript context.',
71
+
description: 'Define the parameters to pass to the javascript sandbox.',
80
72
setValue,
81
73
variables
82
74
});
@@ -105,35 +97,9 @@ function FunctionDefinition(props) {
105
97
debounce,
106
98
element: field,
107
99
getValue,
108
-
description: 'Access function parameters via `data`, set results with `setValue`, and register cleanup functions with `onCleanup`.',
100
+
description: 'Define the javascript function to execute. Register lifecycle hooks with onLoad({data}) and onData({data}). Use setValue(value) to return the result.',
0 commit comments