PrefixComboBox
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
Links
Compatibility
Was this helpful? Need more help?
Leave a comment or a question below. You can also join
the chat on Discord or
ask questions on StackOverflow.
Version
Version 1.5.0
- Added setTextUpdateInterval to set delayed update of filter
- Released
- 2019-08-29
- Maturity
- STABLE
- License
- Apache License 2.0
Compatibility
- Framework
- Vaadin 8.0+
- Browser
- Firefox
- Opera
- Safari
- Google Chrome
- Internet Explorer
- Microsoft Edge