Skip to content

Commit 7d03187

Browse files
Piotr Fałdrowiczvder
Piotr Fałdrowicz
authored andcommitted
move trim to onValueChange
1 parent ee38e18 commit 7d03187

File tree

1 file changed

+1
-1
lines changed
  • designer/client/src/components/graph/node-modal/fragment-input-definition/settings/variants/fields

1 file changed

+1
-1
lines changed

designer/client/src/components/graph/node-modal/fragment-input-definition/settings/variants/fields/UserDefinedListInput.tsx

+1-1
Original file line numberDiff line numberDiff line change
@@ -188,7 +188,7 @@ export const UserDefinedListInput = ({
188188
validationLabelInfo={
189189
temporaryValuesTyping && <CircularProgress size={"1rem"} sx={(theme) => ({ marginTop: theme.spacing(0.5) })} />
190190
}
191-
expressionObj={{ language: ExpressionLang.SpEL, expression: temporaryListItem.trim() }}
191+
expressionObj={{ language: ExpressionLang.SpEL, expression: temporaryListItem }}
192192
onValueChange={(value) => {
193193
setTemporaryListItem(value.expression.trim());
194194
setTemporaryValuesTyping(true);

0 commit comments

Comments
 (0)