- Issue created by @vasike
- Merge request !12Issue #3422462: Use a simplified form ID if the form ID is too specific - ends with Entities IDs β (Closed) created by vasike
- last update
11 months ago 45 pass - π·π΄Romania vasike Ramnicu Valcea
vasike β changed the visibility of the branch 3422462-11.x to hidden.
- Status changed to Needs review
11 months ago 6:21pm 19 February 2024 - π·π΄Romania vasike Ramnicu Valcea
MR created
Trying to have a generic solution ...
After the specific checks for
webform_submission_form
andviews_exposed_form
It also check if the form ID "starts with" form themelast_suggestion
and also ends with a number (possible entity id)It works for Commerce Add to Cart and
StateTransitionForm
.The question is if with this MR ... the suggestion is not too "generic"
Example:
input--submit--commerce-order-item-add-to-cart-form
- with current MR"Alternative" - more specific, just remove (replace) the "ending number" (entity id)
input--submit--commerce-order-item-add-to-cart-form-commerce-product
After a decision, we could add also some tests.
-
smustgrave β
committed 5b7d89c2 on 4.0.x
Issue #3422462 by vasike: Use a simplified form ID if the form ID is too...
-
smustgrave β
committed 5b7d89c2 on 4.0.x
- πΊπΈUnited States smustgrave
Will include as part of the new 4.0.x branch for D10+11.
- Status changed to Fixed
5 months ago 4:07pm 18 August 2024 Automatically closed - issue fixed for 2 weeks with no activity.