If i select icon in menu items it gives error -
java.lang.IllegalArgumentException: No enum constant com.vaadin.flow.component.icon.VaadinIcon.vaadin:factory
please advice.
If i select icon in menu items it gives error -
java.lang.IllegalArgumentException: No enum constant com.vaadin.flow.component.icon.VaadinIcon.vaadin:factory
please advice.
Selection of icon in menu generate code like icon=“vaddin:factory” this is giving error. Instead of just icon=“FACTORY” is working.
This ay also be cause for not showing correct icon for main menus (>)
demo-
my app;
please advice
Hello!
Thank you for reporting a problem! I’ve created an issue: Icon in menu.xml does not support icon factory naming · Issue #2715 · jmix-framework/jmix · GitHub.
However I did not reproduced the problem with >
icon. Did you change CSS for MainView or for Menu? Could you reproduce it in new demo project?
No i have not changed css.
It is caused by this statement which is used for some external html files -
secPolicy.policyDirectives(“frame-ancestors https://jsheelonline.cloudjiffy.net/; font-src https://jsheelonline.cloudjiffy.net/”)
Please advice, how can i give font-src that don’t cause this issue my html files also shows.