Comments (3)
Ok, so it's not the form's csrf that's causing the problem but the live component's csrf...
I agree we should provide a better method to handle this but not quite sure how yet. I think, currently, you can handle with a component js hook but it would be complex. Feels like we could use something similar to loading states but for errors.
from ux.
@kbond thanks for the idea. Possible workaround here : symfony/symfony#51724
from ux.
Not sure it would be a solution viable for the entire "symfony stack", but in UX packages, i think a lazy load of the CSRF would not be too hard ... and (yeah i'm a broken record) this would help performance / sobriety. (the CSRF token on public page restrict the caching strategies)
from ux.
Related Issues (20)
- [LiveComponent] Getting "Cannot find a template matching "a67ec1ad40dd8f6b6934cb852ed6d2f9". Cache may be corrupt."... all the time HOT 3
- [LiveComponents] It seems like data-live-id values must not start with a number HOT 1
- [Autcomplete] Setting input value in javascript doesn't work HOT 3
- [Autocomplete] + [LiveComponent] Infinite loop of requests with data-model on autocomplete. HOT 3
- [Autocomplete][LiveComponent] Select box doesn't reset when used in a live component HOT 7
- [TwigComponent] Having troubles accessing blocks in deeply nested component HOT 11
- Get data from <twig:block> in class HOT 2
- [LiveComponent] Batch request to save function, throws error: The submitForm() method is being called, but the FormView has already been built HOT 2
- [Site] Using raw data attributes HOT 2
- [LiveComponent] Live Actions cannot handle file downloads HOT 2
- [Turbo] InstantClick should not prefetch links from Web Debug Toolbar HOT 11
- [LiveComponent] TemplateCacheWarmer not warming up cache HOT 15
- [Typed] Add a helper or use <template> to provide values HOT 2
- [TURBO] Impossible to redirect with anchor HOT 2
- [LiveComponent] Calling a property using a getter (i.e. computed) doesn't update component state (another component property)? HOT 5
- [TwigComponent] Profiler, memory consumption HOT 13
- The option "extra_options" does not exist. HOT 4
- [LiveComponent] How "defer" option work and the logic behind __invoke HOT 5
- [LiveComponent] getComponent is undefined if the controller loads very quickly as explained in the docs HOT 6
- [LiveComponent] `data-model` started throwing the "Invalid model name" error after upgrading to 2.15 HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from ux.