diff options
author | John Molakvoæ <skjnldsv@users.noreply.github.com> | 2020-04-14 12:29:18 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-04-14 12:29:18 +0200 |
commit | 9a33f084d539e16be99c8fae8efa018a45d589ee (patch) | |
tree | 35311efa71709c8cae15bf9f7c83272183e90beb | |
parent | b13e167d822ab102bb10be7a4469cac809135139 (diff) | |
parent | b5ff273bf9e848ca4caed7cb461a7e0e8434485b (diff) |
Merge pull request #1568 from nextcloud/tintou/accept-all-groups
Allow to use any name for Group creation
-rw-r--r-- | src/components/Properties/PropertyGroups.vue | 11 |
1 files changed, 3 insertions, 8 deletions
diff --git a/src/components/Properties/PropertyGroups.vue b/src/components/Properties/PropertyGroups.vue index d5f9e7ff..700a44dc 100644 --- a/src/components/Properties/PropertyGroups.vue +++ b/src/components/Properties/PropertyGroups.vue @@ -169,14 +169,9 @@ export default { * @returns {boolean} */ validateGroup(groupName) { - // Only allow characters without vcard special chars - const groupRegex = /^[^;,:]+$/gmi - if (groupName.match(groupRegex)) { - this.addContactToGroup(groupName) - this.localValue.push(groupName) - return true - } - return false + this.addContactToGroup(groupName) + this.localValue.push(groupName) + return true }, }, } |