- π³πΏNew Zealand quietone
@Pancho Thank you for reporting this problem.
Is this issue still a problem? If so, can we have steps to reproduce.
Since we need more information to move forward with this issue, I am keeping the status at Postponed (maintainer needs more info). If we don't receive additional information to help with the issue, it may be closed after three months.
Thanks!
- Status changed to Active
almost 2 years ago 9:34am 4 March 2023 - π·πΊRussia xandeadx
Code to reproduce:
public function buildForm(array $form, FormStateInterface $form_state): array { $form['textfield'] = [ '#type' => 'textfield', '#ajax' => [ 'callback' => '::ajaxUpdateTextfield', 'event' => 'input', 'wrapper' => 'textfield', ], '#prefix' => '<div id="textfield">', '#suffix' => '</div>', ]; return $form; } public static function ajaxUpdateTextfield(array $form, FormStateInterface $form_state): array { return $form['textfield']; }
- π¨π¦Canada mgifford Ottawa, Ontario
Thanks for the video @xandeadx that could be really annoying.
- First commit to issue fork.
- π©πͺGermany tgauges
I implemented a failing test. But that test is inside a test function which is currently being skipped because of π [random test failure] Re-enable AjaxTest::testAjaxFocus() Needs work .
Should this issue be dependent on the other one?
- π©πͺGermany tgauges
I implemented a fix and a test case. The test case is not run because of π [random test failure] Re-enable AjaxTest::testAjaxFocus() Needs work . I'm not sure how to continue because the flaky tests in #3396536 π [random test failure] Re-enable AjaxTest::testAjaxFocus() Needs work seem to only be happening in the pipeline and I don't have enough expertise for that.
- πΊπΈUnited States smustgrave
Have not reviewed yet but issue summary should be updated with standard template please.
- π©πͺGermany tgauges
I updated the issue summary, should the status be "Needs review" again?
- πΊπΈUnited States smustgrave
Rebased as it was a few 100 commits back (applied cleanly though) and seems to have some test failures