- πΊπΈUnited States alieffring
I can confirm that this issue is still happening in Drupal 9, and that the general idea of the patch (registering a listener for validation issues and opening parent details tags when triggered) fixes it.
- Status changed to Needs review
over 1 year ago 1:38pm 24 May 2023 - last update
over 1 year ago Patch Failed to Apply - last update
over 1 year ago Patch Failed to Apply - last update
over 1 year ago Patch Failed to Apply - last update
over 1 year ago Patch Failed to Apply - last update
over 1 year ago Custom Commands Failed - last update
over 1 year ago Custom Commands Failed - last update
over 1 year ago Custom Commands Failed - π΅π±Poland dmitry.korhov Poland, Warsaw
re-roll on drupal 9.5.x branch
- last update
over 1 year ago Patch Failed to Apply - last update
over 1 year ago Build Successful - Status changed to Needs work
over 1 year ago 11:08pm 29 May 2023 - πΊπΈUnited States smustgrave
As a bug will need a test case.
Will also need to verify this is a bug in 11.x branch and patch made for that as that's the current development branch.
- πΊπΈUnited States tregonia
Noticed that this patch is using jQuery.once and not Drupal once. Should this issue include using Drupal once?
https://www.drupal.org/node/3158256 β - πΊπΈUnited States tregonia
Looks like I spoke too soon before diving in. The code in this issue is against 9.5.x and affects a file that was removed in `10.0.x` and `10.1.x`.
See https://www.drupal.org/project/drupal/issues/3269082 β for more details.
Next steps are to reroll this patch against D10, or at least D11
- Merge request !5579Fixed details cannot open, console log show error message when details element... β (Closed) created by phthlaap
- Status changed to Needs review
12 months ago 7:18am 29 November 2023 - π»π³Vietnam phthlaap
Fixed the issue on 11x branch and create merge request. Added a tests.
- Status changed to RTBC
12 months ago 2:58pm 4 December 2023 - πΊπΈUnited States smustgrave
Removing tests tag as they have been added
1) Drupal\FunctionalJavascriptTests\Core\Form\FormGroupingElementsTest::testDetailsContainsRequiredTextfield Text field is visible Failed asserting that false is true. /builds/issue/drupal-3333481/vendor/phpunit/phpunit/src/Framework/Constraint/Constraint.php:121 /builds/issue/drupal-3333481/vendor/phpunit/phpunit/src/Framework/Constraint/Constraint.php:55 /builds/issue/drupal-3333481/core/tests/Drupal/FunctionalJavascriptTests/Core/Form/FormGroupingElementsTest.php:187 /builds/issue/drupal-3333481/vendor/phpunit/phpunit/src/Framework/TestResult.php:728 FAILURES! Tests: 4, Assertions: 27, Failures: 1.
This covers details but wonder if a future ticket could make it more dynamic in determining if it's hidden.
- First commit to issue fork.
- Status changed to Needs work
11 months ago 7:01am 26 December 2023 - π³πΏNew Zealand quietone
Thanks for working on this improvement!
I'm triaging RTBC issues β . I read the IS and the comments. There is a question in #19 that has not been answered.
I then tested the MR, with and without the fix and it works as expected. I then reviewed the MR and left comments there some of which require work. I have used the suggestion feature but they are just suggestions. Whoever works on this may have better ideas.
I am changing the status to NW.
- Status changed to Needs review
11 months ago 11:49am 1 January 2024 - Status changed to Needs work
11 months ago 8:42pm 1 January 2024 - Status changed to Needs review
10 months ago 3:52pm 5 January 2024 - Status changed to RTBC
10 months ago 2:54pm 9 January 2024 - Status changed to Needs work
9 months ago 10:14am 23 February 2024 - π«π·France nod_ Lille
Couple of frequent usage case not supported (detail with required field added with ajax, changing the required state with the #states API)
- π«π·France nod_ Lille
Posted a solution that should work all the time.
I used a native event so I can listen in the capture phase that way opening the details element is the very first thing that runs, before the native browser callbacks are called, otherwise it causes an error with the details element being open too late.
So use my suggestion and add some more comments please.
- Status changed to Needs review
8 months ago 4:34pm 7 March 2024 - π»π³Vietnam phthlaap
Resolved and added more tests to cover form with ajax.
- Status changed to RTBC
8 months ago 12:33am 11 March 2024 - πΊπΈUnited States smustgrave
Applied 1 nitpicky suggestion and cleaned up the issue summary.
Changes look good though
- π¬π§United Kingdom longwave UK
This is a minor behaviour change but I think it is eligible for backport as fixing the bug is worse than leaving it in place.
Committed and pushed a31d15a87f to 11.x and 5663d5dd9c to 10.3.x and 4fbd912d57 to 10.2.x. Thanks!
-
longwave β
committed 4fbd912d on 10.2.x
Issue #3333481 by phthlaap, galileo25, dmitry.korhov, smustgrave,...
-
longwave β
committed 4fbd912d on 10.2.x
-
longwave β
committed 5663d5dd on 10.3.x
Issue #3333481 by phthlaap, galileo25, dmitry.korhov, smustgrave,...
-
longwave β
committed 5663d5dd on 10.3.x
- Status changed to Fixed
8 months ago 4:02pm 13 March 2024 -
longwave β
committed a31d15a8 on 11.x
Issue #3333481 by phthlaap, galileo25, dmitry.korhov, smustgrave,...
-
longwave β
committed a31d15a8 on 11.x
Automatically closed - issue fixed for 2 weeks with no activity.