Category
[ ] Enhancement
[x] Bug
[ ] Question
Version
3.15.0
Desired Behavior
When using the ListItemAttachments component to upload files in a new form, after a file has been added, clicking the file preview to open the file should be disabled.
Observed Behavior
When using the ListItemAttachments component to upload files in a new form, after a file has been added, clicking the image preview results in the url "https://example.sharepoint.com/sites/example/_layouts/15/undefined?web=1" being opened:

Steps to Reproduce
- Use 'Add Attachment' button to add an attachment in a new form
- Click the attachment preview