Skip to content

Commit c538987

Browse files
authored
Merge pull request #1104 from FaheemOnHub/fix/3765/doubleEncoding
fix: Owner section Search input adds %2520 instead of space (double encoding issue)
2 parents 70e0133 + 3cb2bc9 commit c538987

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

src/custom/InputSearchField/InputSearchField.tsx

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -84,8 +84,7 @@ const InputSearchField: React.FC<InputSearchFieldProps> = ({
8484
if (value === '') {
8585
setOpen(false);
8686
} else {
87-
const encodedValue = encodeURIComponent(value);
88-
fetchSuggestions(encodedValue);
87+
fetchSuggestions(value);
8988
setError('');
9089
setOpen(true);
9190
}

0 commit comments

Comments
 (0)