Hi, you need to use theme attribute on the combo box and it will propagate to the text field.
<!-- Define the theme module (in index.html or in a separate HTML import) -->
<dom-module id="special-field-theme" theme-for="vaadin-text-field">
<template>
<style>
:host([theme~="special-field"]
) [part="input-field"]
{
height: 20px;
max-height: 20px;
}
</style>
</template>
</dom-module>
<!-- Apply the theme attribute to <vaadin-combo-box> -->
<vaadin-combo-box theme="special-field"></vaadin-combo-box>
If I’m not mistaken, your input-field styles should be in a theme module for vaadin-text-field, now they’re imported for vaadin-combo-box: @CssImport(value="./styles/my-combobox-styles.css", themeFor="vaadin-combo-box") p
So you should have a separate .css file for those styles and import it with @CssImport(value="./styles/filename.css", theme-for="vaadin-text-field").