How can I remove the ‘cross’ that clear the combobox selection with java api ?
[https://pasteboard.co/I4fx39C.png]
(https://pasteboard.co/I4fx39C.png)
Try adding this to your code:
<dom-module id="combo-box-styles" theme-for="vaadin-combo-box">
<template>
<style>
[part="clear-button"]
{
display: none;
}
</style>
</template>
</dom-module>
Read more on styling here: https://vaadin.com/docs/contributing/documentation-style-guidelines.html
and here: https://cdn.vaadin.com/vaadin-date-picker/2.0.2/demo/theming.html