From a98f59469eb3d319ae18c2717f2e0a6469e1dcbd Mon Sep 17 00:00:00 2001 From: Florian Schroedl Date: Mon, 1 Jul 2024 09:56:45 +0200 Subject: [PATCH] Add - to allowed token-name --- frontend/src/app/main/ui/workspace/tokens/form.cljs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/frontend/src/app/main/ui/workspace/tokens/form.cljs b/frontend/src/app/main/ui/workspace/tokens/form.cljs index 954340249..fd87d7c1e 100644 --- a/frontend/src/app/main/ui/workspace/tokens/form.cljs +++ b/frontend/src/app/main/ui/workspace/tokens/form.cljs @@ -30,7 +30,7 @@ Caution: This will allow a trailing dot like `token-name.`, But we will trim that in the `finalize-name`, to not throw too many errors while the user is editing." - #"([a-zA-Z0-9]+\.?)*") + #"([a-zA-Z0-9-]+\.?)*") (def valid-token-name-schema (m/-simple-schema