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 am trying to use Alpine JS for a bit of client-side interactivity and it has directives that use syntax that are not supported. I was able to bypass some of them, but there is no way around some of them. For example,
<input@click="...">
could be updated to work as
<inputx-on:click="...">
but something like:
<inputx-on:keyup.enter="...">
is not possible to include because of the . and Alpine does not provide alternatives.
It would be great to provide support for this. Or maybe provide a way to escape illegal characters.
The text was updated successfully, but these errors were encountered:
Hi, the only workaround I found is as follows:
<input {...{ "x-on:keyup.enter": "..." }} />
Very very...ugly but...since attributes are key/value pair as tag is an object, this works.
I am trying to use Alpine JS for a bit of client-side interactivity and it has directives that use syntax that are not supported. I was able to bypass some of them, but there is no way around some of them. For example,
could be updated to work as
but something like:
is not possible to include because of the
.
and Alpine does not provide alternatives.It would be great to provide support for this. Or maybe provide a way to escape illegal characters.
The text was updated successfully, but these errors were encountered: