From f4f0ddb80a953ebaecaecbfc8da4e22e8bbb4e9c Mon Sep 17 00:00:00 2001 From: Zita Nemeckova Date: Wed, 10 Jul 2019 16:52:52 +0200 Subject: [PATCH] Make form dirty - init name doesn't have to be changed to be saved --- .../components/copy-catalog-form/copy-catalog-form.jsx | 1 + 1 file changed, 1 insertion(+) diff --git a/app/javascript/components/copy-catalog-form/copy-catalog-form.jsx b/app/javascript/components/copy-catalog-form/copy-catalog-form.jsx index 33cf63b3f497..307f347d7b63 100644 --- a/app/javascript/components/copy-catalog-form/copy-catalog-form.jsx +++ b/app/javascript/components/copy-catalog-form/copy-catalog-form.jsx @@ -48,6 +48,7 @@ class CopyCatalogForm extends Component { buttonsLabels={{ submitLabel: __('Add'), }} + disableSubmit={['invalid']} /> );