mirror of
https://github.com/blakeblackshear/frigate.git
synced 2026-03-16 02:17:46 +01:00
UI tweaks (#20498)
* fix padding in debug view * remove latin character regex from wizard step 1 validation
This commit is contained in:
@@ -80,10 +80,6 @@ export default function Step1NameCamera({
|
||||
.string()
|
||||
.min(1, t("cameraWizard.step1.errors.nameRequired"))
|
||||
.max(64, t("cameraWizard.step1.errors.nameLength"))
|
||||
.regex(
|
||||
/^[a-zA-Z0-9\s_-]+$/,
|
||||
t("cameraWizard.step1.errors.invalidCharacters"),
|
||||
)
|
||||
.refine(
|
||||
(value) => !existingCameraNames.includes(value),
|
||||
t("cameraWizard.step1.errors.nameExists"),
|
||||
|
||||
Reference in New Issue
Block a user