I have a front end save entry form which users can attach photos too, it all works fine unless a photo with the same filename is saved, in this instance the entry saves but the asset field is just left blank, can't find anything in the docs,
Any help or a point in the right direction appreciated!
<form id="addCompanyForm" method="post" enctype="multipart/form-data" accept-charset="UTF-8">
{{ csrfInput() }}
<input type="hidden" name="sectionId" value="7">
<input type="hidden" name="enabled" value="0">
<input type="hidden" name="action" value="entries/save-entry">
<input id="title" type="text" name="title">
<input id="companyLogo" type="file" name="fields[companyLogo]" accept=".png, .jpg">
</form>