Skip to content

Saleor Core: the high performance, composable, headless commerce API.

Fix 'name' filter bug

dominik-zeglen99c25577926a
diff --git a/saleor/dashboard/product/chips.py b/saleor/dashboard/product/chips.py
index 9729753e2b..3d236b5af8 100644
--- a/saleor/dashboard/product/chips.py
+++ b/saleor/dashboard/product/chips.py
@@ -62,7 +62,7 @@ class ChipFactory:
def make(self):
for field in self.form:
- if field.value() is not None:
+ if field.value() not in ['', None]:
field_type = str(type(field.field))
if field.name in self.handlers.keys():
self.handlers[field.name](field, self.chips, self.context)