Thanks in advance for reading and helping me in this issue:
I’m trying to create an editable comboBox which works
as follow: When the user writes something, the dataProvider is
updated to show only records in drop-down list which contains the
text the user has entered. For example, if I have two records with
labels “Employee” and “Manager”, if the
user types “p”, only “Employee” is shown
because contains the “p” character.
Everything is working fine but, when I dynamically update de
comboBox’s dataProvider, the text the user is typing remains
selected. When the user types “p”, the dataprovider is
modified and the “p” in text box remains selected. When
the user types another character, for example “l”,
because “p” is selected, the new character entered
replaces the old one. Then I can search for two characters, for
example, “pl” because every time the new character
replace the old one.
Do you know how I can solve this problem?.
Have no idea about the exact working of your renderer class,
but you need to empty the variable of which the filtering be made.
I mean if theres a certain time elapsed (or by the time the search
method is done) the variable should be nulled
But again: i cannot see how yout renderer works