Skip to content

Commit a2f15d2

Browse files
fix: uo co proposer email lookup fails when input contains space (#1316)
2 parents 55de9ea + 5dbe024 commit a2f15d2

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
@@ -341,7 +341,7 @@ function ParticipantSelector({
341341
)
342342
}
343343
filterSelectedOptions
344-
onInputChange={(_, newValue) => setQuery(newValue)}
344+
onInputChange={(_, newValue) => setQuery(newValue.trim())}
345345
onKeyDown={handleKeyDown}
346346
data-cy="invite-user-autocomplete"
347347
renderInput={(params) => (

0 commit comments

Comments
 (0)