title: GWT Bootstrap typeahead event listener?
body: <p>I am using GWTBootstrap3 Typeahead widget. The main problem is the event is not getting deregistered and the events are bundling up as many times i load the component. The components are cached by default. The first component load triggers event 1 time and in second time component load triggers 2 times and so on. It's causing a lot of problem. I have tried HandlerRegistration and removeHandler() its not working. If any body found a solution please let me know.</p>
  
  <p>Here is the bit of code where the event is registered:</p>
  
  <pre><code>HandlerRegistration typeAheadListener = 
      productSelect.addTypeaheadSelectedHandler(new TypeaheadSelectedHandler&lt;Part&gt;() {
      @Override public void onSelected(TypeaheadSelectedEvent&lt;Part&gt; event) { 
          selectedPart = event.getSuggestion().getData(); // Handling the event 
      }
  });
  </code></pre>
  
  <p>Thanks</p>