EditGroup: add "cannot change" hint

This commit is contained in:
Alex Gleason 2023-03-29 20:45:40 -05:00
parent ddf433a5c9
commit e47b9300f0
No known key found for this signature in database
GPG Key ID: 7211D1F99744FBB7
1 changed files with 2 additions and 1 deletions

View File

@ -148,7 +148,8 @@ const EditGroup: React.FC<IEditGroup> = ({ params: { id: groupId } }) => {
<AvatarPicker accept={attachmentTypes} disabled={isSubmitting} {...avatar} />
</div>
<FormGroup
labelText={<FormattedMessage id='manage_group.fields.name_label' defaultMessage='Group name (required)' />}
labelText={<FormattedMessage id='manage_group.fields.name_label_optional' defaultMessage='Group name' />}
hintText={<FormattedMessage id='manage_group.fields.cannot_change_hint' defaultMessage='This cannot be changed after the group is created.' />}
>
<Input
type='text'