X-Git-Url: https://git.arvados.org/arvados-workbench2.git/blobdiff_plain/f5a3876fd7c35c57e9d3eb037278160844858c25..c29de730b2cf8582667e21bc985530a804797186:/src/validators/validators.tsx

diff --git a/src/validators/validators.tsx b/src/validators/validators.tsx
index 13ce4e6a..605d051c 100644
--- a/src/validators/validators.tsx
+++ b/src/validators/validators.tsx
@@ -6,14 +6,16 @@ import { require } from './require';
 import { maxLength } from './max-length';
 import { isRsaKey } from './is-rsa-key';
 import { isRemoteHost } from "./is-remote-host";
-import { validName } from "./valid-name";
+import { validName, validNameAllowSlash } from "./valid-name";
 
 export const TAG_KEY_VALIDATION = [require, maxLength(255)];
 export const TAG_VALUE_VALIDATION = [require, maxLength(255)];
 
 export const PROJECT_NAME_VALIDATION = [require, validName, maxLength(255)];
+export const PROJECT_NAME_VALIDATION_ALLOW_SLASH = [require, validNameAllowSlash, maxLength(255)];
 
 export const COLLECTION_NAME_VALIDATION = [require, validName, maxLength(255)];
+export const COLLECTION_NAME_VALIDATION_ALLOW_SLASH = [require, validNameAllowSlash, maxLength(255)];
 export const COLLECTION_DESCRIPTION_VALIDATION = [maxLength(255)];
 export const COLLECTION_PROJECT_VALIDATION = [require];
 
