Skip to content

Commit

Permalink
Update ColumnIdInputHandler.ts
Browse files Browse the repository at this point in the history
removed commented line
  • Loading branch information
stefandanzl committed Jan 21, 2024
1 parent 6d81ac7 commit d62abee
Showing 1 changed file with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,6 @@ export class ColumnIdInputHandler extends AbstractHandlerClass<ColumnSettingsHan
return t("column_settings_modal_column_id_error_empty_root_key");
}
// Validate special characters in root key
// if (rootKey.match(/[^a-zA-Z0-9_]/)) {
if (rootKey.match(/[^\w\u0400-\u04FF]/)) {
return t("column_settings_modal_column_id_error_invalid_key");
}
Expand All @@ -87,4 +86,4 @@ export class ColumnIdInputHandler extends AbstractHandlerClass<ColumnSettingsHan
}
return '';
}
}
}

0 comments on commit d62abee

Please sign in to comment.