Closed
Description
I'm using the AsyncTypeahead component as a input field:
So the when a user copy paste some string which contain trailing space then I want to remove the space and update the AsyncTypeahead value.
I have tried few ways:
- I am storing the typeahead value by using state variable and using that value but updated value is not getting reflected.
- I am creating a ref and trying to update value by using inputRef.current.getInput().value = trimmedValue.
Both the ways are not working.
Metadata
Metadata
Assignees
Labels
No labels