Skip to content

Commit 090aa66

Browse files
committed
fix: trim the value before looking up
1 parent 3fee63e commit 090aa66

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

apps/frontend/src/components/proposal/ParticipantSelector.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -340,7 +340,7 @@ function ParticipantSelector({
340340
)
341341
}
342342
filterSelectedOptions
343-
onInputChange={(_, newValue) => setQuery(newValue)}
343+
onInputChange={(_, newValue) => setQuery(newValue.trim())}
344344
onKeyDown={handleKeyDown}
345345
data-cy="invite-user-autocomplete"
346346
renderInput={(params) => (

0 commit comments

Comments
 (0)