Closed eydun closed 2 months ago
X-target is working for me when using forms.
But if I use a simple html-link with href, then it does not work for me.
<a href="/contacts" x-target="contacts">Open</a>
I guess that is intended behavior?
It should work. Make sure you have an x-data or x-init on the link or on a parent element too.
x-data
x-init
Thanks, it was x-init that was missing!
X-target is working for me when using forms.
But if I use a simple html-link with href, then it does not work for me.
I guess that is intended behavior?