You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
feat(unified-share-modal): add property to limit the number of contacts (#1304)
Add property to limit the number of contact pills that can be created at one time.
Remove reset of error on contact input. This preserves the contact limit error.
Copy file name to clipboardExpand all lines: i18n/en-US.properties
+2Lines changed: 2 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -1170,6 +1170,8 @@ boxui.unifiedShare.collaboration.userCollabText = User
1170
1170
boxui.unifiedShare.collaboratorListTitle = People in '{itemName}'
1171
1171
# This string is displayed as tooltip on hovering over expire icon for collab
1172
1172
boxui.unifiedShare.collaborators.expirationTooltipClickableText = Access expires on {date}. Click for details.
1173
+
# Error message when more than the maximum number of contacts is entered
1174
+
boxui.unifiedShare.contactsExceedLimitError = Oops! The maximum number of collaborators that can be added at once is {maxContacts} collaborators. Please try again by splitting your invitations into batches.
1173
1175
# Text shown in share modal when there is at least one external collaborators
1174
1176
boxui.unifiedShare.contentSharedWithExternalCollaborators = This content will be shared with external collaborators.
1175
1177
# Text used in button label to describe permission level - co-owner
isDisabled={submitting||selectedContacts.length===0||contactsFieldError}// Check selectedContacts.length === 0 for initial render when contactsFieldError is empty
description: 'Error message when user tries to send Shared Link as email without entering any recipients',
18
18
id: 'boxui.unifiedShare.enterAtLeastOneEmail',
19
19
},
20
+
contactsExceedLimitError: {
21
+
defaultMessage:
22
+
'Oops! The maximum number of collaborators that can be added at once is {maxContacts} collaborators. Please try again by splitting your invitations into batches.',
23
+
description: 'Error message when more than the maximum number of contacts is entered',
0 commit comments