{"data":{"id":"magento2-36325","source":"github-pr","sourceRef":"magento/magento2#36325","title":"add isMultipleFiles property to image form element template","pr":{"number":36325,"url":"https://github.com/magento/magento2/pull/36325","author":"pacco-a","mergedAt":"2025-02-24T07:34:21Z","mergeCommit":"f645b645815cd2cb2bed0fe251bbcbb4c9b41959","headCommit":"0aef4decc0431ef62010e7d8f74e91c21f328181","baseRef":"2.4-develop","diffSha256":"5a69d38b1d23eca4bc5aec26ddaf9d2958d92250986f4c268889120395ff0111"},"issues":[{"number":39219,"url":"https://github.com/magento/magento2/issues/39219","title":"[Issue] add isMultipleFiles property to image form element template","labels":["Area: Framework","Component: MediaGallery","Issue: Confirmed","Priority: P2","Progress: PR in progress","Progress: done","Reported on 2.4.x","Reproduced on 2.4.x"],"kind":"pr-derived"}],"fixedIn":"2.4.8","containingTags":["2.4.8","2.4.8-p1","2.4.8-p2","2.4.8-p3","2.4.8-p4","2.4.8-p5","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":"conflict","2.4.8-p1":"conflict","2.4.8-p2":"conflict","2.4.8-p3":"conflict","2.4.8-p4":"conflict","2.4.8-p5":"conflict","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"],"components":["magento/module-ui"],"files":[{"path":"app/code/Magento/Ui/view/base/web/templates/form/element/uploader/image.html","change":"modified","package":"magento/module-ui"}],"stripped":{"tests":[],"docs":[],"outsideCode":[]},"linesChanged":4,"mergeBatched":false,"excluded":null,"sections":{"description":"The only modification in the code is the addition of the already existing (and utilized) property \"isMultipleFiles\" into the condition that determine whether the \"Browse to find or drag image here\" button should be display or not.","stepsToReproduce":"1. Create an adminhtml UI form with an imageUploader element.\n2. Define the \"isMultipleFiles\" boolean property to true in this element.\n3. Check the form, the \"Browse to find or drag image here\" button disappear after the first image is uploaded.","expectedResult":null,"actualResult":null,"source":"pr"},"signatures":[],"labels":{"area":["Framework"],"component":["MediaGallery"],"priority":"P2","severity":null,"reportedOn":["2.4.x"]},"categories":[],"triage":{"model":"@cf/cloudflare/clef","requestHash":"c3de2173d74293313156503374e44a5e0a6fc1e0a5543818000bb7532e28edb8","isBugfix":0.8813,"changeKind":{"choice":"bugfix","probabilities":{"bugfix":0.9373,"feature":0.0394,"refactor":0.0129,"tests_only":0.0038,"docs_only":0.0032,"dependency":0.0034},"confidence":0.8563},"scope":{"score":0.2035,"probabilities":{"0":0.8299,"1":0.1367,"2":0.0334},"confidence":0.5628},"risk":{"score":0.4222,"probabilities":{"0":0.591,"1":0.3958,"2":0.0132},"confidence":0.2591},"area":{"choice":"admin","probabilities":{"catalog":0.0201,"checkout":0.0035,"customer":0.0034,"admin":0.7,"graphql_api":0.0029,"framework":0.1148,"frontend":0.1392,"other":0.0161},"confidence":0.4551},"securityRelevant":0.0048,"reportedVersion":{"choice":"unspecified","probabilities":{"2.4.0":0.0046,"2.4.0-p1":0.0043,"2.4.1":0.0045,"2.4.1-p1":0.0036,"2.4.2":0.0073,"2.4.2-p1":0.0066,"2.4.2-p2":0.0099,"2.4.3":0.0113,"2.4.3-p1":0.0122,"2.4.3-p2":0.0137,"2.4.3-p3":0.0085,"2.4.4":0.0209,"2.4.4-p1":0.0117,"2.4.4-p10":0.0089,"2.4.4-p11":0.0091,"2.4.4-p12":0.008,"2.4.4-p13":0.0076,"2.4.4-p14":0.0104,"2.4.4-p15":0.0069,"2.4.4-p16":0.009,"2.4.4-p17":0.0068,"2.4.4-p18":0.0058,"2.4.4-p2":0.0031,"2.4.4-p3":0.0034,"2.4.4-p4":0.0039,"2.4.4-p5":0.0042,"2.4.4-p6":0.0052,"2.4.4-p7":0.005,"2.4.4-p8":0.0055,"2.4.4-p9":0.0043,"2.4.5":0.0159,"2.4.5-p1":0.0121,"2.4.5-p10":0.0078,"2.4.5-p11":0.0117,"2.4.5-p12":0.0114,"2.4.5-p13":0.0096,"2.4.5-p14":0.0089,"2.4.5-p15":0.0081,"2.4.5-p16":0.0092,"2.4.5-p17":0.0084,"2.4.5-p2":0.0042,"2.4.5-p3":0.0057,"2.4.5-p4":0.006,"2.4.5-p5":0.0049,"2.4.5-p6":0.0066,"2.4.5-p7":0.0073,"2.4.5-p8":0.0053,"2.4.5-p9":0.0052,"2.4.6":0.0379,"2.4.6-p1":0.0203,"2.4.6-p10":0.011,"2.4.6-p11":0.0134,"2.4.6-p12":0.0116,"2.4.6-p13":0.0119,"2.4.6-p14":0.0127,"2.4.6-p15":0.0088,"2.4.6-p2":0.0053,"2.4.6-p3":0.0089,"2.4.6-p4":0.0105,"2.4.6-p5":0.0078,"2.4.6-p6":0.0109,"2.4.6-p7":0.0094,"2.4.6-p8":0.0065,"2.4.6-p9":0.0062,"2.4.7":0.0199,"2.4.7-p1":0.0153,"2.4.7-p10":0.0098,"2.4.7-p2":0.0097,"2.4.7-p3":0.0144,"2.4.7-p4":0.0174,"2.4.7-p5":0.0178,"2.4.7-p6":0.015,"2.4.7-p7":0.0138,"2.4.7-p8":0.0107,"2.4.7-p9":0.0073,"2.4.8":0.0245,"2.4.8-p1":0.0177,"2.4.8-p2":0.0199,"2.4.8-p3":0.0209,"2.4.8-p4":0.0175,"2.4.8-p5":0.0166,"2.4.9":0.0211,"unspecified":0.1431},"confidence":0.0204},"backportWorthy":{"score":1.4744,"probabilities":{"0":0.1356,"1":0.2543,"2":0.6101},"confidence":0.1829}},"curated":{"title":"Fixes the image upload button disappearing after the first image is added","description":"In an adminhtml UI form with an imageUploader element and isMultipleFiles set to true, the Browse to find or drag image here button disappear after the first image is uploaded. The Ui uploader image.html template now has isMultipleFiles in the condition: the placeholder is there when !hasData() || isMultipleFiles.","categories":[],"author":"claude-code/opus-5.5","date":"2026-10-06","reviewedBy":null},"tests":null},"_documentation":"https://magento.watch/api","_description":"Upstream fix magento2-36325 details"}