mirror of
https://github.com/blakeblackshear/frigate.git
synced 2026-05-02 03:27:41 +03:00
pass regex
This commit is contained in:
parent
f8ef5777b0
commit
5a0c265ea5
@ -499,6 +499,8 @@ function LibrarySelector({
|
|||||||
setRenameFace(null);
|
setRenameFace(null);
|
||||||
}}
|
}}
|
||||||
defaultValue={renameFace || ""}
|
defaultValue={renameFace || ""}
|
||||||
|
regexPattern={/^[\p{L}\p{N}\s'_-]{1,50}$/u}
|
||||||
|
regexErrorMessage={t("description.invalidName")}
|
||||||
/>
|
/>
|
||||||
|
|
||||||
<DropdownMenu>
|
<DropdownMenu>
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user