You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I was switching from custom icon component. In one twig component I had a loop where icon's are rendered and then binding {{ loop.index0 }} via data attribute and this is where the problem appear. Had to do {{ '' ~ loop.index0 }}.
So this was an expectation error, where you can write numbers to attributes via twig component and so <twig:UX:Icon /> looks like a twig component with some exceptions :)
Twig components allows to provide an integer as attibute values and casts it, while
UX:Icon
doesn't allow it.Valid example:
Currently invalid:
The text was updated successfully, but these errors were encountered: