Extended Native Select
Native Select with placeholder and empty selection capabilities
This add-on provides a native select with placeholder and empty selection capabilities. This is mostly inspired by the NativeSelect provided by the Vaadin framework.
Sample code
ExtendedNativeSelect<String> component = new ExtendedNativeSelect<>(); // Allow empty selection. component.setEmptySelectinAllowed(true); // Set the placeholder. component.setPlaceholder("Eigenschaften"); // Set your DataProvider etc
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
Fixes:
- Set visibility of
#setItemCaptionGenerator(...)
inExtendedNativeSelect
to public
- Released
- 2020-06-12
- Maturity
- EXPERIMENTAL
- License
- Apache License 2.0
Compatibility
- Framework
- Vaadin 8.0+
- Browser
- Firefox
- Opera
- Safari
- Google Chrome
- iOS Browser
- Android Browser
- Microsoft Edge