pass regex

This commit is contained in:
Josh Hawkins 2025-05-17 11:21:53 -05:00
parent f8ef5777b0
commit 5a0c265ea5

View File

@ -499,6 +499,8 @@ function LibrarySelector({
setRenameFace(null);
}}
defaultValue={renameFace || ""}
regexPattern={/^[\p{L}\p{N}\s'_-]{1,50}$/u}
regexErrorMessage={t("description.invalidName")}
/>
<DropdownMenu>