From a53f256115fcb39dc3b68b26f3e601407e147f10 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Markus=20Gu=CC=88nther?= Date: Tue, 8 Oct 2024 13:36:01 +0200 Subject: [PATCH] TASK: Assign trimmed value to the searchTerm --- packages/neos-ui-editors/src/Library/LinkInput.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/neos-ui-editors/src/Library/LinkInput.js b/packages/neos-ui-editors/src/Library/LinkInput.js index af8d649d39..8447dca3ad 100644 --- a/packages/neos-ui-editors/src/Library/LinkInput.js +++ b/packages/neos-ui-editors/src/Library/LinkInput.js @@ -152,7 +152,7 @@ export default class LinkInput extends PureComponent { // trim leading and trailing whitespace as it can cause issues // with the further processing if (typeof searchTerm === 'string') { - searchTerm.trim() + searchTerm = searchTerm.trim() } this.setState({searchTerm});