-
FEATURED COMPONENTS
First time here? Check out the FAQ!
I have a autodrop Combobox and a EventListener for the "Events.ON_CHANGING". My problem is that only work once.
Example, I type,do the search, I erase the values, retype and no event is fired. I need to click in other component and then re-click on the combobox to type another time.
My code:
public class ComboUsuariosComponent extends Combobox {
public ComboUsuariosComponent(String width, boolean buttonVisible, boolean autodrop) {
this.setButtonVisible(buttonVisible);
this.setAutodrop(autodrop);
this.setWidth(width);
this.addEventListener(Events.ON_CHANGING, new GrillaComboOnChange());
}
private class GrillaComboOnChange implements EventListener<Event>{
@Override
public void onEvent(Event event) throws Exception {
finUsers(getValue());
}
}
}
Asked: 2017-10-26 16:34:08 +0800
Seen: 8 times
Last updated: Oct 26 '17
combobox with password type zk 8.0.5
Use a combobox to create a new item
How to capture onScroll Event of Combobox
combobox does not scroll autocompleted text into view
I want to take different value from label(value) and pass to @bind object
Combobox sometimes clears the selected item
zk combobox filtering option is not working inside listbox .