fix non-empty value for file-input fields when using uploaded logos

Signed-off-by: Michael Kaufmann <d00p@froxlor.org>
This commit is contained in:
Michael Kaufmann
2023-12-12 08:58:33 +01:00
parent ec0026ecfd
commit 36dfee1263

View File

@@ -184,7 +184,7 @@
</label>
</div>
{% endif %}
{% set field = field|merge({'type':'file'}) %}
{% set field = field|merge({'type':'file'})|merge({'value':''}) %}
{{ _self.input(id, field) }}
{% endmacro %}