mirror of
https://github.com/scm-manager/scm-manager.git
synced 2025-11-08 06:25:45 +01:00
description should be a textarea
This commit is contained in:
@@ -8,6 +8,7 @@ import type { Group } from "../types/Group";
|
||||
import * as validator from "./groupValidation";
|
||||
import AddMemberField from "./AddMemberField";
|
||||
import MemberNameTable from "./MemberNameTable";
|
||||
import Textarea from "../../components/forms/Textarea";
|
||||
|
||||
type Props = {
|
||||
t: string => string,
|
||||
@@ -84,7 +85,7 @@ class GroupForm extends React.Component<Props, State> {
|
||||
return (
|
||||
<form onSubmit={this.submit}>
|
||||
{nameField}
|
||||
<InputField
|
||||
<Textarea
|
||||
label={t("group.description")}
|
||||
errorMessage={t("group-form.description-error")}
|
||||
onChange={this.handleDescriptionChange}
|
||||
|
||||
Reference in New Issue
Block a user