MSP-3289 change input to textArea in App pages
This commit is contained in:
1 parent
0f4bf2e5b0
commit
f20b30636c
2 files changed
+15
-7
No files matched your search
@@ -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<ApplicationsContentPropTypes> = ({
|
||||
label="Наименование"
|
||||
rules={{ required: ValidationRules.required }}
|
||||
/>
|
||||
<FormInput
|
||||
<FormTextArea
|
||||
autoSize={{ minRows: 2, maxRows: 6 }}
|
||||
control={controlApplicationApp}
|
||||
label="Описание"
|
||||
name="description"
|
||||
@@ -249,7 +251,8 @@ const ApplicationsContent: FC<ApplicationsContentPropTypes> = ({
|
||||
label="Наименование"
|
||||
rules={{ required: ValidationRules.required }}
|
||||
/>
|
||||
<FormInput
|
||||
<FormTextArea
|
||||
autoSize={{ minRows: 2, maxRows: 6 }}
|
||||
control={controlApplicationApp}
|
||||
label="Описание"
|
||||
name="description"
|
||||
|
||||
Reference in new issue
Block a user