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
Hi, In my controller $request->getPreferredFormat() is null whenever the page is called from ux-turbo or not.
I'm using symfony/ux-turbo: 2.12.0 with Symfony 6.2.14.
I'm using turbo stream instead of frame. When I set the a tag outside a turbo-frame$request->headers->get('Turbo-Frame') and $request->getPreferredFormat() are null.
When I add the link inside a turbo-frame I get the $request->headers->get('Turbo-Frame') but $request->getPreferredFormat() is set to Html.
The links are inside <div {{ stimulus_controller('@symfony/ux-turbo/turbo-core') }}>...</div>
The text was updated successfully, but these errors were encountered:
Hi, In my controller $request->getPreferredFormat() is null whenever the page is called from ux-turbo or not.
I'm using symfony/ux-turbo: 2.12.0 with Symfony 6.2.14.
I'm using turbo stream instead of frame. When I set the
a
tag outside aturbo-frame
$request->headers->get('Turbo-Frame')
and$request->getPreferredFormat()
are null.When I add the link inside a
turbo-frame
I get the$request->headers->get('Turbo-Frame')
but$request->getPreferredFormat()
is set to Html.The links are inside
<div {{ stimulus_controller('@symfony/ux-turbo/turbo-core') }}>...</div>
The text was updated successfully, but these errors were encountered: