Saleor Core: the high performance, composable, headless commerce API.
Python cartcheckoutcommercecomposablee-commerceecommercegraphqlheadlessheadless-commercemultichannelomsorder-managementpaymentspimpythonshopshopping-cartstore
Show addValues and removeValues fields errors
dominik-zeglen68bbb8bcf34d
diff --git a/saleor/static/dashboard-next/productTypes/components/ProductTypeAttributeEditDialog/ProductTypeAttributeEditDialog.tsx b/saleor/static/dashboard-next/productTypes/components/ProductTypeAttributeEditDialog/ProductTypeAttributeEditDialog.tsxindex 82160e7b5c..5d36ed729f 100644--- a/saleor/static/dashboard-next/productTypes/components/ProductTypeAttributeEditDialog/ProductTypeAttributeEditDialog.tsx+++ b/saleor/static/dashboard-next/productTypes/components/ProductTypeAttributeEditDialog/ProductTypeAttributeEditDialog.tsx@@ -64,11 +64,19 @@ const ProductTypeAttributeEditDialog: React.StatelessComponent<<ListFieldautoComplete="off"disabled={disabled}- error={!!formErrors.values}+ error={+ !!formErrors.values ||+ !!formErrors.addValues ||+ !!formErrors.removeValues+ }fullWidthname="values"label={i18n.t("Attribute values")}- helperText={formErrors.values}+ helperText={+ formErrors.values ||+ formErrors.addValues ||+ formErrors.removeValues+ }values={data.values}onChange={change}/>