From db870d8586daeec0f9127853de07826a8032d4da Mon Sep 17 00:00:00 2001 From: goodm2ice Date: Mon, 28 Mar 2022 12:04:58 +0500 Subject: [PATCH] =?UTF-8?q?=D0=9D=D0=B5=D0=B2=D0=B0=D0=BB=D0=B8=D0=B4?= =?UTF-8?q?=D0=BD=D1=8B=D0=B9=20=D0=B2=D0=B0=D0=BB=D0=B8=D0=B4=D0=B0=D1=82?= =?UTF-8?q?=D0=BE=D1=80=20=D1=83=D0=B1=D1=80=D0=B0=D0=BD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/pages/WellOperations/WellOperationsEditor.jsx | 7 ------- 1 file changed, 7 deletions(-) diff --git a/src/pages/WellOperations/WellOperationsEditor.jsx b/src/pages/WellOperations/WellOperationsEditor.jsx index 49da840..033a6f0 100644 --- a/src/pages/WellOperations/WellOperationsEditor.jsx +++ b/src/pages/WellOperations/WellOperationsEditor.jsx @@ -32,13 +32,6 @@ const generateColumns = (showNpt = false, categories = [], sectionTypes = []) => sorter: makeNumericSorter('idWellSectionType'), editable: true, width: 160, - formItemRules: [() => ({ - validator(_, value) { - if (value?.length > 0) - return Promise.resolve() - return Promise.reject('Это обязательное поле!') - } - })], }), makeSelectColumn('Операция', 'idCategory', categories, undefined, { sorter: makeNumericSorter('idCategory'),