- last update
9 months ago 63 pass - π§πΎBelarus sergey.semchuk
Re-rolled #7 patch π AJAX is broken on the add condition form Needs review to make it compatible with Drupal 10
It is impossible to use AJAX on the condition configuration form due to the way the add condition form is rendered by ManageConditions::add()
. The form is rendered on a route where it doesn't exist and then displayed in a modal. It's also the reason why the form action has to be overwritten by the same method.
In order for AJAX to work, the module has to make a sub-request to the form route. This way the form is rendered on a route where it exists and AJAX requests work as expected.
No.
No.
\Drupal\ctools\Form\ManageConditions::getConditionClass()
is deleted, as it's not necessary anymore.No.
Needs review
3.0
Code
Not all content is available!
It's likely this issue predates Contrib.social: some issue and comment data are missing.
Re-rolled #7 patch π AJAX is broken on the add condition form Needs review to make it compatible with Drupal 10