Hi All!
I made some changes to style of vaadin-select-text-field (inside of vaadin-select).
But I want to have this style only for some Selects, not for all.
I tried to use :host(.with class name), but as I understand vaadin-select-text-field don’t have such class, only his parent - vaadin-select.
How I can do this?
I tried to use solution from this page (last example): https://github.com/vaadin/vaadin-themable-mixin#scoping-styles-in-a-theme-module :host(.special-field) works only for parent object - when I use theme-for="vaadin-select"
But I need same for theme-for="vaadin-select-text-field". Problem that vaadin-select-text-field don’t has needed class, vaadin-select only has. Maybe I miss something…
I don’t know if you ever found a solution for this, but I just ran into the same issue. Basically, I wanted a select to have the same color as a button.
Found out that the vaadin-select-text-field had to be styled separately: