{"data":{"id":"magento2-37184","source":"github-pr","sourceRef":"magento/magento2#37184","title":"Fields validation on creditmemos","pr":{"number":37184,"url":"https://github.com/magento/magento2/pull/37184","author":"Nuranto","mergedAt":"2026-01-06T14:46:47Z","mergeCommit":"ec96e4bf08d40d3354d5f621b96d5248f294fd09","headCommit":"8a42cc987406e9100d25401a7b875ba476d52934","baseRef":"2.4-develop","diffSha256":"3a60cf85d25a5e29359994e82e4b3d9f161658a6fce2dfd3942e23756fc5cdd0"},"issues":[{"number":37182,"url":"https://github.com/magento/magento2/issues/37182","title":"Fields validation on creditmemos","labels":["Area: Framework","Component: Validator","Issue: Confirmed","Priority: P2","Progress: PR Created","Progress: PR in progress","Progress: done","Reported on 2.4.x","Reproduced on 2.4.x","Triage: Dev.Experience"],"kind":"human"}],"fixedIn":"2.4.9","containingTags":["2.4.9"],"reportedOn":null,"codeMatch":{"2.4.6":"clean","2.4.6-p1":"clean","2.4.6-p2":"clean","2.4.6-p3":"clean","2.4.6-p4":"clean","2.4.6-p5":"clean","2.4.6-p6":"clean","2.4.6-p7":"clean","2.4.6-p8":"clean","2.4.6-p9":"clean","2.4.6-p10":"clean","2.4.6-p11":"clean","2.4.6-p12":"clean","2.4.6-p13":"clean","2.4.6-p14":"clean","2.4.6-p15":"clean","2.4.7":"clean","2.4.7-p1":"clean","2.4.7-p2":"clean","2.4.7-p3":"clean","2.4.7-p4":"clean","2.4.7-p5":"clean","2.4.7-p6":"clean","2.4.7-p7":"clean","2.4.7-p8":"clean","2.4.7-p9":"clean","2.4.7-p10":"clean","2.4.8":"clean","2.4.8-p1":"clean","2.4.8-p2":"clean","2.4.8-p3":"clean","2.4.8-p4":"clean","2.4.8-p5":"clean","2.4.9":"conflict"},"affectedVersions":["2.4.6","2.4.6-p1","2.4.6-p2","2.4.6-p3","2.4.6-p4","2.4.6-p5","2.4.6-p6","2.4.6-p7","2.4.6-p8","2.4.6-p9","2.4.6-p10","2.4.6-p11","2.4.6-p12","2.4.6-p13","2.4.6-p14","2.4.6-p15","2.4.7","2.4.7-p1","2.4.7-p2","2.4.7-p3","2.4.7-p4","2.4.7-p5","2.4.7-p6","2.4.7-p7","2.4.7-p8","2.4.7-p9","2.4.7-p10","2.4.8","2.4.8-p1","2.4.8-p2","2.4.8-p3","2.4.8-p4","2.4.8-p5"],"components":["magento/module-sales"],"files":[{"path":"app/code/Magento/Sales/view/adminhtml/templates/order/creditmemo/create/items.phtml","change":"modified","package":"magento/module-sales"}],"stripped":{"tests":[],"docs":[],"outsideCode":[]},"linesChanged":17,"mergeBatched":false,"excluded":null,"sections":{"description":null,"stepsToReproduce":null,"expectedResult":null,"actualResult":null,"source":null},"signatures":[],"labels":{"area":["Framework"],"component":["Validator"],"priority":"P2","severity":null,"reportedOn":["2.4.x"]},"categories":[],"triage":{"model":"@cf/cloudflare/clef","requestHash":"7ef57b8a92c9fbf588dcc5bf2eabfdb559a74bf06a331d724c87f444a6898b1b","isBugfix":0.9692,"changeKind":{"choice":"bugfix","probabilities":{"bugfix":0.962,"feature":0.0085,"refactor":0.0092,"tests_only":0.005,"docs_only":0.004,"dependency":0.0034,"cleanup":0.0079},"confidence":0.9132},"scope":{"score":0.5437,"probabilities":{"0":0.5567,"1":0.3429,"2":0.1004},"confidence":0.1563},"risk":{"score":0.6075,"probabilities":{"0":0.4616,"1":0.4694,"2":0.069},"confidence":0.1572},"area":{"choice":"admin","probabilities":{"catalog":0.0066,"checkout":0.0676,"customer":0.0049,"admin":0.8093,"graphql_api":0.0031,"framework":0.0504,"frontend":0.0465,"other":0.0116},"confidence":0.6165},"securityRelevant":0.0081,"reportedVersion":{"choice":"unspecified","probabilities":{"2.4.0":0.0047,"2.4.0-p1":0.0046,"2.4.1":0.0041,"2.4.1-p1":0.0036,"2.4.2":0.0091,"2.4.2-p1":0.0065,"2.4.2-p2":0.0074,"2.4.3":0.0213,"2.4.3-p1":0.0187,"2.4.3-p2":0.0132,"2.4.3-p3":0.0096,"2.4.4":0.0352,"2.4.4-p1":0.0221,"2.4.4-p10":0.01,"2.4.4-p11":0.0155,"2.4.4-p12":0.0101,"2.4.4-p13":0.0098,"2.4.4-p14":0.0114,"2.4.4-p15":0.0082,"2.4.4-p16":0.0099,"2.4.4-p17":0.0082,"2.4.4-p18":0.0074,"2.4.4-p2":0.0037,"2.4.4-p3":0.0041,"2.4.4-p4":0.0047,"2.4.4-p5":0.0057,"2.4.4-p6":0.0063,"2.4.4-p7":0.0067,"2.4.4-p8":0.0067,"2.4.4-p9":0.006,"2.4.5":0.0149,"2.4.5-p1":0.0148,"2.4.5-p10":0.0081,"2.4.5-p11":0.0125,"2.4.5-p12":0.0106,"2.4.5-p13":0.0091,"2.4.5-p14":0.0112,"2.4.5-p15":0.0078,"2.4.5-p16":0.0087,"2.4.5-p17":0.0081,"2.4.5-p2":0.0047,"2.4.5-p3":0.0073,"2.4.5-p4":0.0064,"2.4.5-p5":0.0059,"2.4.5-p6":0.0064,"2.4.5-p7":0.0067,"2.4.5-p8":0.0053,"2.4.5-p9":0.0055,"2.4.6":0.0339,"2.4.6-p1":0.0224,"2.4.6-p10":0.0107,"2.4.6-p11":0.0133,"2.4.6-p12":0.0113,"2.4.6-p13":0.0119,"2.4.6-p14":0.0141,"2.4.6-p15":0.0085,"2.4.6-p2":0.0054,"2.4.6-p3":0.0081,"2.4.6-p4":0.0104,"2.4.6-p5":0.0083,"2.4.6-p6":0.0082,"2.4.6-p7":0.0088,"2.4.6-p8":0.0066,"2.4.6-p9":0.0058,"2.4.7":0.0129,"2.4.7-p1":0.0121,"2.4.7-p10":0.0076,"2.4.7-p2":0.0088,"2.4.7-p3":0.0135,"2.4.7-p4":0.018,"2.4.7-p5":0.0125,"2.4.7-p6":0.0139,"2.4.7-p7":0.0124,"2.4.7-p8":0.0084,"2.4.7-p9":0.005,"2.4.8":0.014,"2.4.8-p1":0.0132,"2.4.8-p2":0.0144,"2.4.8-p3":0.0138,"2.4.8-p4":0.0149,"2.4.8-p5":0.0131,"2.4.9":0.0106,"unspecified":0.1447},"confidence":0.0207},"backportWorthy":{"score":1.5905,"probabilities":{"0":0.0926,"1":0.2242,"2":0.6832},"confidence":0.2883}},"curated":{"title":"Fixes creditmemo creation submit buttons after extra form fields validation","description":"On creditmemo creation in adminhtml, when the edit_form is not valid on submit due to extra form fields, the submit buttons stay disabled after a change to the fields. The Sales order creditmemo create items.phtml now sets hasValidationErrors when the edit_form is not valid on submit, and on change of an extra input, select or textarea calls enableButtons(submitButtons) once the form is valid.","categories":[],"author":"claude-code/opus-5.5","date":"2026-10-06","reviewedBy":null},"tests":null},"_documentation":"https://magento.watch/api","_description":"Upstream fix magento2-37184 details"}