Skip to main content
8 events
when toggle format what by license comment
May 24, 2023 at 10:48 history edited berliner CC BY-SA 4.0
fix syntax error
Oct 27, 2020 at 10:38 comment added No Sssweat I'm a bit lost, would be good to see what fields you have in your form and what you have in your callbacks. So yeah make a new question with those details and issue.
Oct 27, 2020 at 10:19 comment added mgoubert The ajax forms in drupal 8 are sometimes hard to comprehend. The form_state (getValues()) is correct if ajaxcallback has "return $form" and $form_state->rebuild() is set to TRUE in the submit handler. But if validation error happens, the submit is never called and form_state->geValues() in buildform is empty. Mabey i should make other thread.
Oct 26, 2020 at 20:22 comment added No Sssweat Which form doesn't get rebuild? @mgoubert
Oct 26, 2020 at 9:57 comment added mgoubert Form is not rebuild when form is return in ajax callback. Rebuild is set to true, wrapper set and $form returned. Any suggestions?
Oct 26, 2020 at 8:02 vote accept mgoubert
Oct 25, 2020 at 8:56 history edited No Sssweat CC BY-SA 4.0
added 2 characters in body
Oct 25, 2020 at 8:50 history answered No Sssweat CC BY-SA 4.0