This issue has been created
 
 
XWiki Platform / cid:jira-generated-image-avatar-c14a8689-35ec-4edc-9ff2-fdeafcfebafe XWIKI-22914 Open

Display a placeholder text if no attachment is present on the page when using the attachment selector in a macro modal

 
View issue   ยท   Add comment
 

Issue created

 
cid:jira-generated-image-avatar-cf8c7ae3-e9cc-40cf-870d-158c1aacfd85 Sorin Chiuchiu created this issue on 21/Feb/25 16:04
 
Summary: Display a placeholder text if no attachment is present on the page when using the attachment selector in a macro modal
Issue Type: cid:jira-generated-image-avatar-c14a8689-35ec-4edc-9ff2-fdeafcfebafe Improvement
Assignee: Unassigned
Attachments: testMacro.png
Components: Web - Templates & Resources
Created: 21/Feb/25 16:04
Priority: cid:jira-generated-image-static-minor-092ffe71-b29b-48df-93ce-3b4ff882f3f4 Minor
Reporter: Sorin Chiuchiu
Description:

Currently, when using the attachment selector in a macro modal in a document with no attachments,  there is nothing displayed in the selectize-input:

43356_testMacro.png

My suggestion is if there is no attachment present on the page, display a placeholder in the input parameter of the attachment selector like: "No attachments on this page".