From f20b30636c69229af96c564ddeb7cc72131ad19c Mon Sep 17 00:00:00 2001 From: veselovnk Date: Tue, 14 May 2024 10:38:31 +0300 Subject: [PATCH] MSP-3289 change input to textArea in App pages --- src/components/ApplicationsContent/index.tsx | 9 ++++++--- src/pages/ApplicationsPage/index.tsx | 13 +++++++++---- 2 files changed, 15 insertions(+), 7 deletions(-) diff --git a/src/components/ApplicationsContent/index.tsx b/src/components/ApplicationsContent/index.tsx index 1752063..4cc0727 100644 --- a/src/components/ApplicationsContent/index.tsx +++ b/src/components/ApplicationsContent/index.tsx @@ -28,7 +28,8 @@ import { routePaths } from '@routes/routePaths.ts' import './applications-content.scss' -const { FormInput } = FormComponents + +const { FormInput, FormTextArea } = FormComponents const { EmptyData, Column } = Layout interface ApplicationsContentPropTypes { @@ -222,7 +223,8 @@ const ApplicationsContent: FC = ({ label="Наименование" rules={{ required: ValidationRules.required }} /> - = ({ label="Наименование" rules={{ required: ValidationRules.required }} /> - { const navigate = useNavigate() @@ -208,7 +209,9 @@ const ApplicationsPage = () => { label="Наименование" rules={{ required: ValidationRules.required }} /> - + @@ -231,7 +234,9 @@ const ApplicationsPage = () => { label="Наименование" rules={{ required: ValidationRules.required }} /> - +