-
I have an API that gets called every time the user type something, so I can suggest some movie titles from the api. I think this works, but I can't type in the input of the Autocomplete component. Here's my code: `function Home() {
I made a sandbox with the exact issue: https://codesandbox.io/s/flamboyant-vaughan-3zzsm0 |
Beta Was this translation helpful? Give feedback.
Answered by
rtivital
Feb 28, 2022
Replies: 1 comment 1 reply
-
You are using onChange event handler wrong. it should be |
Beta Was this translation helpful? Give feedback.
1 reply
Answer selected by
Luvous
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
You are using onChange event handler wrong. it should be
onChange={(value) => onChangeHandler(value)}
https://mantine.dev/core/autocomplete/#controlled