Hello,
When we create arrow right icon with the following way, this icon does not appear in the browser.
new Icon (VaadinIcon.ARROW_RIGHT);
The same problem exists for VaadinIcon.EXIT.
I think this error is related to our default turkish-locale. Because when I inspect the element in the browser, I see arrow-rıght instead of arrow-right.
(In Turkish: We have I-I, I-i instead of English.
I think this problem is in the constructor method of the com.vaadin.flow.component.icon.Icon class.
public Icon(VaadinIcon icon) {
this(ICON_COLLECTION_NAME, icon.name().toLowerCase().replace('_', '-'));
}
This constructor use the String toLowerCase() method and this method works according to default locale.
This method should work with English locale in later vaadin-flow releases.
Is there any workaround for current release?
Thanks in advance.