E0105 Static value where an expression is needed
Words in italics are filled in when the compiler reports it, such as the element's name or the list of known ones.
Why
Event handlers and the each attribute of a list refer to code, so they are written in braces.
How to fix it
Write attribute={...}.
In a terminal
duolith explain E0105