why theme=small not working on vaadin-combo-box ?
thanks
<vaadin-combo-box id="bankActionType" theme="small" class="cell" label="Type" readonly ></vaadin-combo-box>
why theme=small not working on vaadin-combo-box ?
thanks
<vaadin-combo-box id="bankActionType" theme="small" class="cell" label="Type" readonly ></vaadin-combo-box>
Someone can help me ?
Hello,
Unfortunately, as far as I can tell, vaadin-combo-box
doesn’t have a small
theme yet.
The good thing is that you can always build it yourself.
<dom-module id="small-combo-box" theme-for="vaadin-combo-box">
<template>
<style>
:host([theme~="small"]
) {
...
}
</style>
</template>
</dom-module>
Also, you can check vaadin-text-field
’s small
theme implementation here (as of this writing, starting at line 211):
https://github.com/vaadin/vaadin-text-field/blob/master/theme/lumo/vaadin-text-field-styles.html
thanks I will test