use TextAreas for description fields in the frontend w/ burnettk

This commit is contained in:
jasquat 2023-08-10 10:56:16 -04:00
parent 9313a9f73a
commit 224ff3efa2
3 changed files with 6 additions and 4 deletions

View File

@ -1,7 +1,7 @@
import { useState } from 'react';
import { useNavigate } from 'react-router-dom';
// @ts-ignore
import { Button, Form, Stack, TextInput } from '@carbon/react';
import { Button, Form, Stack, TextInput, TextArea } from '@carbon/react';
import { modifyProcessIdentifierForPathParam, slugifyString } from '../helpers';
import HttpService from '../services/HttpService';
import { ProcessGroup } from '../interfaces';
@ -140,7 +140,7 @@ export default function ProcessGroupForm({
}
textInputs.push(
<TextInput
<TextArea
id="process-group-description"
name="description"
labelText="Description"

View File

@ -5,6 +5,7 @@ import {
Form,
Stack,
TextInput,
TextArea,
Grid,
Column,
Select,
@ -291,7 +292,7 @@ export default function ProcessModelForm({
}
textInputs.push(
<TextInput
<TextArea
id="process-model-description"
name="description"
labelText="Description"

View File

@ -6,6 +6,7 @@ import {
Select,
SelectItem,
TextInput,
TextArea,
Grid,
Column,
// @ts-ignore
@ -391,7 +392,7 @@ export default function JsonSchemaFormBuilder() {
}}
/>
{formIdTextField()}
<TextInput
<TextArea
id="form-description"
name="description"
labelText="Description"