DebounceInput works fine when I change the value of the input elements (which are using DebounceInput). But when I change the value of a Material UI Autocomplete component that also uses an input element, the other plain text inputs no longer get the debouncing effect (typing becomes slow again).
I tried using DebounceInput inside the Autocomplete, but that doesn't solve the issue. Could you please help?
Please create a reproducible issue in codepen or any other online sandbox, otherwise I cannot see what is going on there, test, experiment and find the cause
DebounceInput
works fine when I change the value of the input elements (which are usingDebounceInput
). But when I change the value of a Material UIAutocomplete
component that also uses an input element, the other plain text inputs no longer get the debouncing effect (typing becomes slow again).I tried using
DebounceInput
inside theAutocomplete
, but that doesn't solve the issue. Could you please help?