Closed
Description
I love the components, so thank you <3
I have a button component and I would like to be able to do:
<twig:Button value="Toggle" x-on:click="open = !open"/>
but the x-on:click
attribute is not rendered with this Twig:
<button{{ attributes }}>{{ value }}</button>
instead it just strips the attribute and outputs:
<button>Toggle</button>
If I try to use the @click
syntax, Twig throws an exception.
Metadata
Metadata
Assignees
Labels
No labels