N
N
Neonoviiwolf2018-01-27 01:55:39
JavaFX
Neonoviiwolf, 2018-01-27 01:55:39

How to clear fields in controlfx in bindAutoCompletion method?

good
there is a line

TextFields.bindAutoCompletion(textField, listTitle);

The data for the drop-down list is entered there, the lines are pulled from the database. So, I make changes to the database and call it again, as a result, it turns out that when I enter it, it shows me a new result in the drop-down list, but when I select it, it can make both a new result and an old one, or after choosing a new one, suggest the old one,
i.e. . at startup there is "nightstand2222", we change the name in the database to "nightstand", it is in the drop-down list, when pressed, we get "nightstand2222" in the TextField field
here on the dock , but even I don’t see a solution

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question