Simon André
Simon André
To be honest, I think we share the same vision on the vast majority of things here... i may have not expressed my personal ideas here with enough talent 😅...
Could you create a reproducer for this ? The idea is to get the smallest repository possible in which the problem can be observed... ... so we can install &...
I'm wondering, why do you need the live action ? It works without.. as you send two actions on the same events, i guess you have a sync problem, leading...
Yep i tried with your repo (that's how i know it works when there is no live_action). I do believe there is a glitch between autocomplete and dependentfield there, so...
The dependent field is not part of Symfony UX ... and the problem comes certainely again from TomSelect / Autocomplete, that always had troubles with LiveComponent.
Oh sorry i did not saw this message, no it's good for me, and sorry if i have no better answer to provide you :|
You should start by setting a LiveProp with the data you want to use in your form (a TestFormStruct instance i guess): https://symfony.com/bundles/ux-live-component/current/index.html#forms Then, some first questions to maybe give...
Maybe try this ? https://github.com/symfony/ux/issues/391#issuecomment-2139592202`
In [TwigPreLexer](https://github.com/symfony/ux/blob/2.x/src/TwigComponent/src/Twig/TwigPreLexer.php) , i guess `consumeAttributeName` should use another regexp than the one in `consumeComponentName` But we need a lot of tests for this, as they cannot be class props...
Some reading here: https://svelte-5-preview.vercel.app/docs/breaking-changes (just passing by)