-
-
Notifications
You must be signed in to change notification settings - Fork 132
Open
Labels
enhancementNew feature or requestNew feature or request
Description
Tried using the code blow to move selected index in MFXFilterComboBox popUp, didn't work. As far as I can tell, there's no way of retrieving popUp to change its behavior.
Platform.runLater(() -> {
BoundTextField textFieldNode = (BoundTextField) comboBox.lookup(".text-field");
if (textFieldNode != null) {
textFieldNode.setOnKeyPressed( ev -> {
if (ev.getCode() == KeyCode.DOWN || ev.getCode() == KeyCode.KP_DOWN) {
comboBox.selectNext();
ev.consume();
} else if (ev.getCode() == KeyCode.UP || ev.getCode() == KeyCode.KP_UP) {
comboBox.selectPrevious();
ev.consume();
}
});
}
});
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or request