mirror of
https://github.com/scm-manager/scm-manager.git
synced 2025-11-15 17:56:17 +01:00
Move the MemberNameTable component to the scm-ui project to be used in combination with the Autocomplete component
This commit is contained in:
@@ -3,6 +3,8 @@ import React from "react";
|
||||
import { translate } from "react-i18next";
|
||||
import {
|
||||
AutocompleteAddEntryToTableField,
|
||||
LabelWithHelpIcon,
|
||||
MemberNameTable,
|
||||
InputField,
|
||||
SubmitButton,
|
||||
Textarea
|
||||
@@ -10,7 +12,6 @@ import {
|
||||
import type { Group, SelectValue } from "@scm-manager/ui-types";
|
||||
|
||||
import * as validator from "./groupValidation";
|
||||
import MemberNameTable from "./MemberNameTable";
|
||||
|
||||
type Props = {
|
||||
t: string => string,
|
||||
@@ -97,6 +98,10 @@ class GroupForm extends React.Component<Props, State> {
|
||||
validationError={false}
|
||||
helpText={t("group-form.help.descriptionHelpText")}
|
||||
/>
|
||||
<LabelWithHelpIcon
|
||||
label={t("group.members")}
|
||||
helpText={t("group-form.help.memberHelpText")}
|
||||
/>
|
||||
<MemberNameTable
|
||||
members={group.members}
|
||||
memberListChanged={this.memberListChanged}
|
||||
|
||||
Reference in New Issue
Block a user