{"data":{"id":"magento2-40094","source":"github-pr","sourceRef":"magento/magento2#40094","title":"Ui Form Reset button not working as expected for \"Associate to company \" field in add and edit page of customer","pr":{"number":40094,"url":"https://github.com/magento/magento2/pull/40094","author":"rutvik-monpara","mergedAt":"2025-11-04T06:39:36Z","mergeCommit":"b62122d4e4bd52bc421c597812456b9ed56d349e","headCommit":"605a80045b3165fc00328c73f04fc5d4db1bc805","baseRef":"2.4-develop","diffSha256":"6c14f4f5b6a1a3debed5da93923d0822fc09d2d196feb574e343e847d61e1c67"},"issues":[{"number":40092,"url":"https://github.com/magento/magento2/issues/40092","title":"Ui Form Reset button not working as expected for \"Associate to company \" field in add and edit page of customer","labels":["Area: Admin UI","Component: Admin","Issue: Confirmed","Priority: P3","Progress: done","Reported on 2.4.8","Reproduced on 2.4.x"],"kind":"human"}],"fixedIn":"2.4.9","containingTags":["2.4.9"],"reportedOn":"2.4.8","codeMatch":{"2.4.6":"conflict","2.4.6-p1":"conflict","2.4.6-p2":"conflict","2.4.6-p3":"conflict","2.4.6-p4":"conflict","2.4.6-p5":"conflict","2.4.6-p6":"conflict","2.4.6-p7":"conflict","2.4.6-p8":"conflict","2.4.6-p9":"conflict","2.4.6-p10":"conflict","2.4.6-p11":"conflict","2.4.6-p12":"conflict","2.4.6-p13":"conflict","2.4.6-p14":"conflict","2.4.6-p15":"conflict","2.4.7":"conflict","2.4.7-p1":"conflict","2.4.7-p2":"conflict","2.4.7-p3":"conflict","2.4.7-p4":"conflict","2.4.7-p5":"conflict","2.4.7-p6":"conflict","2.4.7-p7":"conflict","2.4.7-p8":"conflict","2.4.7-p9":"conflict","2.4.7-p10":"conflict","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.8","2.4.8-p1","2.4.8-p2","2.4.8-p3","2.4.8-p4","2.4.8-p5"],"components":["magento/module-ui"],"files":[{"path":"app/code/Magento/Ui/view/base/web/js/form/adapter/buttons.js","change":"modified","package":"magento/module-ui"}],"stripped":{"tests":["app/code/Magento/Search/Test/Mftf/Test/AdminNewSearchSynonymsFormResetTest.xml","dev/tests/js/jasmine/tests/app/code/Magento/Ui/base/js/form/adapter/buttons.test.js"],"docs":[],"outsideCode":[]},"linesChanged":6,"mergeBatched":true,"excluded":null,"sections":{"description":"Associate to company field is not reseting in add and edit page of customer","stepsToReproduce":"Scenario1:\n1. Open a Customer Add/Edit Form in Admin\n1. fill all the fields in add page including \"associate to company\" filed\n1. Click on Reset button\n\nScenario2:\n1. Open a Customer Edit Form in Admin\n1. edit all the fields in add page including \"associate to company\" filed\n1. Click on Reset button","expectedResult":"1)The form data should be reset without reloading the page. and associate to company field should reset to empty in add page\n2)in edit page associate to company field should reset to its previous added data","actualResult":"Associate to company field is not reseting in add and edit page of customer","source":"issue"},"signatures":[],"labels":{"area":["Admin UI"],"component":["Admin"],"priority":"P3","severity":null,"reportedOn":["2.4.8"]},"categories":["Admin"],"triage":{"model":"@cf/cloudflare/clef","requestHash":"951be88658eea16a1aeb9e3c129831e06128cda2978723af5a864314688f22e9","isBugfix":0.9668,"changeKind":{"choice":"bugfix","probabilities":{"bugfix":0.9594,"feature":0.0042,"refactor":0.0164,"tests_only":0.0131,"docs_only":0.0033,"dependency":0.0036},"confidence":0.9052},"scope":{"score":0.987,"probabilities":{"0":0.2983,"1":0.4164,"2":0.2853},"confidence":0.0157},"risk":{"score":0.7222,"probabilities":{"0":0.3059,"1":0.6659,"2":0.0282},"confidence":0.3068},"area":{"choice":"admin","probabilities":{"catalog":0.0056,"checkout":0.0033,"customer":0.0272,"admin":0.8897,"graphql_api":0.0022,"framework":0.0271,"frontend":0.0365,"other":0.0084},"confidence":0.7651},"securityRelevant":0.0053,"reportedVersion":{"choice":"unspecified","probabilities":{"2.4.0":0.0083,"2.4.0-p1":0.0056,"2.4.1":0.005,"2.4.1-p1":0.0042,"2.4.2":0.0068,"2.4.2-p1":0.0052,"2.4.2-p2":0.0066,"2.4.3":0.0102,"2.4.3-p1":0.007,"2.4.3-p2":0.0095,"2.4.3-p3":0.0071,"2.4.4":0.0094,"2.4.4-p1":0.0058,"2.4.4-p10":0.0052,"2.4.4-p11":0.0064,"2.4.4-p12":0.0061,"2.4.4-p13":0.007,"2.4.4-p14":0.0078,"2.4.4-p15":0.0064,"2.4.4-p16":0.0069,"2.4.4-p17":0.006,"2.4.4-p18":0.0065,"2.4.4-p2":0.004,"2.4.4-p3":0.0044,"2.4.4-p4":0.0048,"2.4.4-p5":0.0056,"2.4.4-p6":0.0049,"2.4.4-p7":0.0061,"2.4.4-p8":0.0065,"2.4.4-p9":0.0047,"2.4.5":0.008,"2.4.5-p1":0.0052,"2.4.5-p10":0.0041,"2.4.5-p11":0.0065,"2.4.5-p12":0.0091,"2.4.5-p13":0.0063,"2.4.5-p14":0.0064,"2.4.5-p15":0.0059,"2.4.5-p16":0.0052,"2.4.5-p17":0.006,"2.4.5-p2":0.0044,"2.4.5-p3":0.0056,"2.4.5-p4":0.007,"2.4.5-p5":0.0054,"2.4.5-p6":0.0061,"2.4.5-p7":0.0059,"2.4.5-p8":0.0058,"2.4.5-p9":0.0045,"2.4.6":0.0119,"2.4.6-p1":0.0075,"2.4.6-p10":0.0075,"2.4.6-p11":0.0106,"2.4.6-p12":0.0082,"2.4.6-p13":0.0085,"2.4.6-p14":0.0079,"2.4.6-p15":0.0062,"2.4.6-p2":0.0045,"2.4.6-p3":0.0063,"2.4.6-p4":0.0086,"2.4.6-p5":0.0069,"2.4.6-p6":0.0071,"2.4.6-p7":0.0074,"2.4.6-p8":0.0072,"2.4.6-p9":0.0044,"2.4.7":0.0108,"2.4.7-p1":0.0088,"2.4.7-p10":0.0089,"2.4.7-p2":0.0068,"2.4.7-p3":0.0098,"2.4.7-p4":0.0134,"2.4.7-p5":0.0095,"2.4.7-p6":0.0142,"2.4.7-p7":0.0125,"2.4.7-p8":0.0098,"2.4.7-p9":0.0048,"2.4.8":0.0642,"2.4.8-p1":0.0181,"2.4.8-p2":0.021,"2.4.8-p3":0.0177,"2.4.8-p4":0.0164,"2.4.8-p5":0.0149,"2.4.9":0.0104,"unspecified":0.3099},"confidence":0.095},"backportWorthy":{"score":1.3304,"probabilities":{"0":0.1773,"1":0.315,"2":0.5077},"confidence":0.0826}},"curated":{"title":"Fixes the admin Ui form Reset button not resetting the form data","description":"In the admin customer add and edit page, the Reset button does not reset the Associate to Company field. The base Ui form adapter buttons.js now maps reset to #reset, not #reset_ui_form.","categories":["Admin"],"author":"claude-code/opus-5.5","date":"2026-10-06","reviewedBy":null},"tests":null},"_documentation":"https://magento.watch/api","_description":"Upstream fix magento2-40094 details"}