682 search results

Hi i'm a bit confused now whats the diffrence between **LiveComponents**, **TwigComponents**, **Turbo Frames/ Stream** and **Stimulus Controller** or where are the benefits over one or the other?? For me they have too much similarities and i have a hard time deciding what to…
michitheonlyone
michitheonlyone
Read Full Comment
…In English, above in the course description, it says the following: About this course Symfony 6.4 LAST stack - Live Components, AssetMapper, Stimulus & Turbo - puts the joy, productivity & simplicity back into creating rich, frontend experiences. However, in Spanish, it says the following: About this course…
Erick-E-Alvarez-R
Erick-E-Alvarez-R
Read Full Comment
turbo frames. Yeah, CSRF may indeed cause some issues in some cases, especially when we're talking about async requests. But actually, even with Turbo frames it should work well I think, though probably you have a more complex setup? Maybe the problem in Turbo
…I found nothing about it in the Symfony UX or the Turbo documentation, GitHub repos or internet at all. I have CSRF protection enabled on my website and when sumitting the form in the turbo frame I have a form validation error "Invalid CSRF Token…
Hugo-Le-Goff
Hugo-Le-Goff
Read Full Comment
…symfony.com/doc/current/frontend/asset_mapper.html#framework-asset-mapper-importmap-script-attributes You can run `bin/console conf:dump framework asset_mapper` to see the example of configuration with `data-turbo-track: reload`. Make sure you're updated to the latest AssetMapper version…
…how Symfony UX bundles provide path to asset-mapper. For symfony/ux-turbo, i think this method is used for define path to asset-mapper (or maybe i am totally wrong :D). ```php // vendor/symfony/ux-turbo/src/DependencyInjection/TurboExtention.php public function prepend(ContainerBuilder…
Ludovic-J
Ludovic-J
Read Full Comment
Hi |mention:85008|, Can you please share "symfony/asset-mapper" package version? Have you edited it manually or it was added automatically after ux-turbo installation? Cheers!
…it includes more topics besides Stimulus & Turbo. If you're looking for a Stimulus and Turbo course in more details, I would recommend you to watch this topic-specific courses: - https://symfonycasts.com/screencast/stimulus - https://symfonycasts.com/screencast/turbo > Vue or React or…
So, why would one choose Vue or React or stimulus? What do you think the choice is based on? Is [this the most recent guide](https://symfonycasts.com/screencast/last-stack) on the stimulus/turbo topic? Or are there more recent ones? thanks
pasquale_pellicani
pasquale_pellicani
Read Full Comment
…so you only need to empty the modal's content. Your response should return a turbo stream with the same modal's id but with no HTML. Here's the chapter where Ryan implements that functionality https://symfonycasts.com/screencast/last-stack/modal#script Hope…
MolloKhan
MolloKhan
Read Full Comment
…the project, and your knowledge. We do recommend Stimulus/Turbo as it's a straightforward tool with a nice Symfony integration. This is just ideal if you have a server-side project and want to give it a feeling of single-page application. It's…
If we use react/angular it updates only part of the page right? full page reload over Ajax will have performance issues when we use Turbo compared to react in bigger applications?
Krishnadas-Pc
Krishnadas-Pc
Read Full Comment
Hi everyone, a great tool for dependent form fields - I'm thrilled :) I have the problem that dependent fields are no longer recognized as mandatory fields. I work with Turbo and LiveComponents. Displaying and hiding the dependent fields works wonderfully. But the "new" dependent fields…
creativx007
creativx007
Read Full Comment
Thank you for responding! I checked the toolbar and the console and could not find an error. I also checked the modal turbo-frame and there was no html inside it.
…and thank you so much ! I knew it had been explained somewhere (in the turbo-frames video in fact), and I am a little upset at myself for having bothered someone for something that could have been done with a little more commitment to research…
JonathanP
JonathanP
Read Full Comment
…believe you need a full-page refresh for this case. To make a `turbo-frame` load the content on the outside you need to add this HTML attribute `target="_top"` I recommend watching this video, it shows off how to do fancy stuff after a…
MolloKhan
MolloKhan
Read Full Comment
…installed Turbo 8 and experimented with the 'refresh' action along with the ``, and it works perfectly. However, there's one issue: the success flash message briefly appears but disappears immediately due to the refresh. From my perspective, a solution would be to create a turbo
…namespace "Doctrine\Common\Util". Did you forget a "use" statement for another namespace?" ``` ClassNotFoundError in C:\Projects\mixed_vinyl\vendor\symfony\ux-turbo\src\Doctrine\BroadcastListener.php (line 138) $class = get_parent_class($entity); if (false === $class) { throw new \LogicException('Parent class missing'); …
valentin_valkanov
valentin_valkanov
Read Full Comment
Hey Nexo, Awesome, I'm glad you figured it out yourself, well done! Yeah, all those Turbo-related topics are something new and it's easy to miss something simple. You just need to get used to it with more practice ;) Cheers!
…Victor. While time passed, I found the problem. As a newbie with turbo, I got a bit confused about the turbo frames and how everything works together. The flash message got written just before the modal closed. At the end it was a matter of…