Hello I\'m trying to create a react bootstrap typeahead in which I can update my input text from javascript. It works in console but doesn\'t work in code.
let ty