Adding custom icon to the menu I get IllegalArgumentException
No enum constant com.vaadin.flow.component.icon.VaadinIcon.icons/square.png
Following https://ai-assistant.jmix.io/chatbot istruction for the query "add custom icon to menu"
and docs …
Steps
(1)
I put new icon into
src\main\resources\META-INF\resources\icons\square.png
(2)
in the menu.xml
i put the icon png reference
‘‘menu id=“square” title=“Test” icon=“icons/square.png”’’
(3) Run
after login i get
IllegalArgumentException: No enum constant com.vaadin.flow.component.icon.VaadinIcon.icons/square.png