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 { useState } from 'react';
|
||||||
import { useNavigate } from 'react-router-dom';
|
import { useNavigate } from 'react-router-dom';
|
||||||
// @ts-ignore
|
// @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 { modifyProcessIdentifierForPathParam, slugifyString } from '../helpers';
|
||||||
import HttpService from '../services/HttpService';
|
import HttpService from '../services/HttpService';
|
||||||
import { ProcessGroup } from '../interfaces';
|
import { ProcessGroup } from '../interfaces';
|
||||||
|
@ -140,7 +140,7 @@ export default function ProcessGroupForm({
|
||||||
}
|
}
|
||||||
|
|
||||||
textInputs.push(
|
textInputs.push(
|
||||||
<TextInput
|
<TextArea
|
||||||
id="process-group-description"
|
id="process-group-description"
|
||||||
name="description"
|
name="description"
|
||||||
labelText="Description"
|
labelText="Description"
|
||||||
|
|
|
@ -5,6 +5,7 @@ import {
|
||||||
Form,
|
Form,
|
||||||
Stack,
|
Stack,
|
||||||
TextInput,
|
TextInput,
|
||||||
|
TextArea,
|
||||||
Grid,
|
Grid,
|
||||||
Column,
|
Column,
|
||||||
Select,
|
Select,
|
||||||
|
@ -291,7 +292,7 @@ export default function ProcessModelForm({
|
||||||
}
|
}
|
||||||
|
|
||||||
textInputs.push(
|
textInputs.push(
|
||||||
<TextInput
|
<TextArea
|
||||||
id="process-model-description"
|
id="process-model-description"
|
||||||
name="description"
|
name="description"
|
||||||
labelText="Description"
|
labelText="Description"
|
||||||
|
|
|
@ -6,6 +6,7 @@ import {
|
||||||
Select,
|
Select,
|
||||||
SelectItem,
|
SelectItem,
|
||||||
TextInput,
|
TextInput,
|
||||||
|
TextArea,
|
||||||
Grid,
|
Grid,
|
||||||
Column,
|
Column,
|
||||||
// @ts-ignore
|
// @ts-ignore
|
||||||
|
@ -391,7 +392,7 @@ export default function JsonSchemaFormBuilder() {
|
||||||
}}
|
}}
|
||||||
/>
|
/>
|
||||||
{formIdTextField()}
|
{formIdTextField()}
|
||||||
<TextInput
|
<TextArea
|
||||||
id="form-description"
|
id="form-description"
|
||||||
name="description"
|
name="description"
|
||||||
labelText="Description"
|
labelText="Description"
|
||||||
|
|
Loading…
Reference in New Issue