1

The problem here is that there are similar product names so I only want to search for substrings to get a list of products (which is possible).

The method is called like this:

TextFields.bindAutoCompletion(searchTerm, productNames);

However the drop down suggestions always highlight the first entry which fires the search for this specific product on enter.

Is there a way to disable this default selection?

cookieDope
  • 33
  • 2
  • 9
  • Which version of controlFx are you using ? Does this link related to version 8.40.10 also describe your issue https://bitbucket.org/controlsfx/controlsfx/issues/666/autocomplete-selection-issue ? – HelloWorld Dec 28 '17 at 21:21
  • Thanks for the reply, I think the version is 8.40.10. I solved the problem by manually creating a searchfield and laying a combobox behind it. Frankly its not a nice one-liner nor is it very fast but it does what it should. – cookieDope Jan 14 '18 at 11:44

0 Answers0