From fe28ed9d538c885218f0733a2915f774ceec3bb5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Daniel=20Garc=C3=ADa?= Date: Mon, 26 Nov 2018 11:29:58 +0100 Subject: [PATCH] Allow empty value in dropdown custom field --- app/partials/custom-attributes/custom-attribute-value-edit.jade | 1 + 1 file changed, 1 insertion(+) diff --git a/app/partials/custom-attributes/custom-attribute-value-edit.jade b/app/partials/custom-attributes/custom-attribute-value-edit.jade index ce11b449..ef9078de 100644 --- a/app/partials/custom-attributes/custom-attribute-value-edit.jade +++ b/app/partials/custom-attributes/custom-attribute-value-edit.jade @@ -24,6 +24,7 @@ form.custom-field-single.editable name="value" ng-model="model" ) + option option(ng-repeat="option in extra", value="{{ option }}") {{ option }} <% } else if (type=="number") { %> input#custom-field-value(name="value", type="number", value!="<%- value %>")