Hello,
I am using an upload field to upload an image for the WP featured image field. The upload and mapping via Post Creation add-on work well.
However I notice that the delete button for the upload field is not visible and does not appear to be present in the DOM when the image file is uploaded.
The main reason for the importance is that I have “Additional Image” upload fields that are used to upload images to a custom field. If a user uploads an image in error and wants to delete the image, there is no delete button available. How do I get the delete button to be visible so that it is functional?
Here is HTML for the upload field after uploading an image file.
I notice after submitting the form with a validation error due to a required field being left empty, that the delete button for the upload field is now visible. Here is HTML after submitting with a validation error. Notice the delete button near the end of the HTML.
Any suggestions?
Thanks!