- 🇺🇸United States smustgrave
Only moving back to NW for the change record + release note.
- Status changed to Needs review
over 1 year ago 9:54pm 2 May 2023 - 🇺🇸United States ChaseOnTheWeb USA
I've attempted a change notice → and release note snippet. Please review.
- Status changed to RTBC
over 1 year ago 6:21pm 5 May 2023 - 🇺🇸United States smustgrave
Change record seems clear. I think this may be better suites for 10.2 though as this maybe could be disruptive for existing sites if they were using those selectors (could be wrong).
- last update
over 1 year ago 28,505 pass - last update
over 1 year ago 28,519 pass - Status changed to Needs work
over 1 year ago 8:24am 8 May 2023 - 🇫🇮Finland lauriii Finland
-
+++ b/core/lib/Drupal/Core/Form/FormBuilder.php @@ -984,11 +989,6 @@ public function doBuildForm($form_id, &$element, FormStateInterface &$form_state $element['#attributes']['data-drupal-selector'] = Html::getId($unprocessed_id);
Shouldn't we override this attribute only when it isn't already set?
-
Let's extend the test coverage for form elements too. Currently tests are only covering the
<form>
element.
-
- 🇩🇪Germany Anybody Porta Westfalica
Just ran into this in Homebox 3.0.x development and can confirm the issue still exists. Patch from #55 fixes the issue.
Re #62.1:
Shouldn't we override this attribute only when it isn't already set?
Makes sense to me, so the developer is still allowed to override it, if needed for edge cases. Any downside ideas?
One could also discuss this is a "core property" starting withdata-drupal-
on the other hand.#62.1:
Let's extend the test coverage for form elements too. Currently, tests are only covering the
element.What exactly should be tested and should it be done in this context?