Saleor Core: the high performance, composable, headless commerce API.
Python cartcheckoutcommercecomposablee-commerceecommercegraphqlheadlessheadless-commercemultichannelomsorder-managementpaymentspimpythonshopshopping-cartstore
Move current file name to file input's initial value
dominik-zeglena22fa9ca168f
diff --git a/templates/dashboard/product/product_image/versatile_image.html b/templates/dashboard/product/product_image/versatile_image.htmlindex ee40e27309..247fe1ec8d 100644--- a/templates/dashboard/product/product_image/versatile_image.html+++ b/templates/dashboard/product/product_image/versatile_image.html@@ -1,10 +1,6 @@{% load i18n %}{% if widget.is_initial %}- <div class="sizedimage-mod initial">- <label class="versatileimagefield-label">{{ widget.initial_text }}</label>- <a href="{{ widget.value.url }}">{{ widget.value.display_value }}</a>- </div>{% endif %}<div class="sizedimage-mod preview"><label class="versatileimagefield-label">diff --git a/templates/materializecssform/field.html b/templates/materializecssform/field.htmlindex 26f0abc014..be0fa30c5e 100644--- a/templates/materializecssform/field.html+++ b/templates/materializecssform/field.html@@ -238,7 +238,7 @@name="{{ field.name }}_0" type="file"></div><div class="file-path-wrapper">- <input class="file-path" type="text">+ <input class="file-path" type="text" value="{{ field.value.display_value }}"></div>{% for error in field.errors %}<p class="help-block materialize-red-text">