use TextAreas for description fields in the frontend w/ burnettk
This commit is contained in:
parent
9313a9f73a
commit
224ff3efa2
|
@ -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"
|
||||
|
|
|
@ -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"
|
||||
|
|
|
@ -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"
|
||||
|
|
Loading…
Reference in New Issue