<div slot="header" th:text="#{project}"/>
<wa-button data-dialog="open project-dialog" size="small"
slot="header-actions"
th:text="#{project.create}" variant="brand"></wa-button>
<div>
<wa-button data-dialog="open project-dialog" size="small"
slot="header-actions"
th:text="#{project.create}" variant="brand"/>
I feel like most of the times self-closing tags are opened up when Thymeleaf renders it. But not always.
I like using self-closing tags on web components like the above example, but it must be expanded as the web components does not work as self-closing tags.
So my question is why Thymeleaf is only sometimes expanding wa-button : https://webawesome.com/docs/components/button
Note that I'm only talking about cases where th:text is used, in these cases Thymeleaf should expand the tag since otherwise it would not be able to put in the value inside the tags.
I feel like most of the times self-closing tags are opened up when Thymeleaf renders it. But not always.
I like using self-closing tags on web components like the above example, but it must be expanded as the web components does not work as self-closing tags.
So my question is why Thymeleaf is only sometimes expanding wa-button : https://webawesome.com/docs/components/button
Note that I'm only talking about cases where th:text is used, in these cases Thymeleaf should expand the tag since otherwise it would not be able to put in the value inside the tags.