PrefixComboBox | Vaadin

PrefixComboBox is version of ComboBox with optional Prefix text in text box and number of other missing features

PrefixComboBox is version of ComboBox with Prefix text in text box and many other additional features that are missing from the framework version. It is not mandatory to use the prefix with the add-on, you can use the add-on without prefix and use other features.

  • Added setTextUpdateInterval(..) to set delayed update of filter. This feature is very useful when you have slow backend datasource and want to avoid update of the filter after every keypress.

  • Use prefixComboBox.setPrefix(prefix) to set the prefix (here the name of add-on comes from).

  • PopupOpenedEvent and PopupOpenedListener fired when popup opens

  • PopupClosedEvent and PopupClosedListener fired when popup closes

  • Added openPopup() and openPopup(int page) methods, opens programmatically the combobox

  • Added setMaxInputLength(..) method for setting maximum length of accepted text in text box

  • Added methods setSelectTextOnClick(..) and selectText()

  • Added methods setCursorOnFocus(..) and setCursorPos(..)

  • Added method getSelectedItemCaption(), this is a convenience method which is useful when the ComboBox is used with list of beans and item caption generator.

  • Improved keyboard management to handle Ctrl-A and Ctrl-C


Link to this version
StableReleased 29 August 2019Apache License 2.0
Framework Support
Vaadin 8.0+
Browser Compatibility
Install with
Release notes - Version 1.5.0

Version 1.5.0

  • Added setTextUpdateInterval to set delayed update of filter