This issue has been created
 
 
XWiki Platform / cid:jira-generated-image-avatar-03894a53-1089-4ce8-85ea-78a31ee92494 XWIKI-22915 Open

When using the attachment selector in a macro modal, prefill the name parameter

 
View issue   ยท   Add comment
 

Issue created

 
cid:jira-generated-image-avatar-fd606bfc-1677-4f0a-abb3-761dec2697e0 Sorin Chiuchiu created this issue on 21/Feb/25 16:11
 
Summary: When using the attachment selector in a macro modal, prefill the name parameter
Issue Type: cid:jira-generated-image-avatar-03894a53-1089-4ce8-85ea-78a31ee92494 Improvement
Assignee: Unassigned
Attachments: testMacro.png
Components: Web - Templates & Resources
Created: 21/Feb/25 16:11
Priority: cid:jira-generated-image-static-minor-2f431004-50e4-48aa-968f-f72dbe9e1163 Minor
Reporter: Sorin Chiuchiu
Description:

Currently, when using the attachment selector in a macro modal, the attachment picker is not populated and no placeholder is displayed by default, which results in a bland display:

43357_testMacro.png

This could be improved by prefilling the input parameter with the first attachment on the page (in alphabetical order) when using the attachment selector in a macro modal.