diff --git a/frontend/javascripts/admin/dataset/dataset_components.tsx b/frontend/javascripts/admin/dataset/dataset_components.tsx index ccbe40d7a30..6dbec1cdefb 100644 --- a/frontend/javascripts/admin/dataset/dataset_components.tsx +++ b/frontend/javascripts/admin/dataset/dataset_components.tsx @@ -41,8 +41,8 @@ export const layerNameRules = [ }, // Note that these rules are also checked by the backend { - pattern: /^[0-9a-zA-Z_.-]+$/, - message: "Only letters, digits and the following characters are allowed: . _ -", + pattern: /^[0-9a-zA-Z_.\-$.]+$/, + message: "Only letters, digits and the following characters are allowed: . _ - $", }, { validator: syncValidator(