Hello.
Is there any way to change the language of the generic filter?
Also the button “Refresh”… I want to replace the text to “Search” or something like that.
Thank you
Jmix Version 2.1
Yes, you can define messages with specific keys in your message bundle.
See the default messages here:
Also, there is explanation of how to translate framework messages in the docs: Framework Translations.
Thank you very much, Helpful as allways
Can change the Refresh button color?
If you select the filter component in browser dev tools, you will see the following structure:
So you need to write the following CSS selector for the Refresh button with dropdown (of this particular filter with genericFilter
id):
#genericFilter vaadin-menu-bar[jmix-role="jmix-combo-button-icon"] vaadin-menu-bar-button {
background: red;
}
The result:
1 Like