Why Form submission need a redirect ? #61802
Unanswered
OlivierLejeune59
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hello,
I have noticed that twig are no more rendered in actions with submitted and valid form and i wonder why.
you can have an example with this project https://gitlab.com/OlivierLejeune59/lucette/-/tree/2cb148cb7d5cb25ce4ddf29c26432071217264f9/
If i add a not mapped IntegerField with constraint NotBlank and submit the form without fill this field so twig is rendered with news values.
But so, as soon as form is valid, the the page is not rendered and we only see the page before submit.
It is not very convenient for my specific case in this project, because i would like that valid submission only allows me to display more informations in my page.
Beta Was this translation helpful? Give feedback.
All reactions