Hi folks, using the official hilla docs i came across this solution, to render buttons into a grid column:
<vaadin-grid-column header="Test" ${columnBodyRenderer((item, model, column) => html` <vaadin-button>My Button</vaadin-button>`)}> </vaadin-grid-column>
using the code the following error/warning gets prompted by the lit-plugin
Edit: fixed by juking the lit-plugin with as DirectiveResult
but still a wrong type internally somewhere i guess
Can you elaborate a little bit more detailed what exactly you did to fix this issue?
web-padawan
(Serhii Kulykov)
4
FYI, the issue is now fixed and the fix is available in @vaadin/grid
24.4.8 (will be available for Hilla users in the next Vaadin patch release).
1 Like