Merge branch 'main' into main

This commit is contained in:
Gregory Schier
2025-12-28 15:09:35 -08:00
committed by GitHub
2 changed files with 18 additions and 2 deletions

View File

@@ -74,7 +74,7 @@ export function EnvironmentEditor({ environment, hideName, className, setRef }:
const validateName = useCallback((name: string) => {
// Empty just means the variable doesn't have a name yet and is unusable
if (name === '') return true;
return name.match(/^[a-z_][a-z0-9_-]*$/i) != null;
return name.match(/^[a-z_][a-z0-9_.-]*$/i) != null;
}, []);
const valueType = !isEncryptionEnabled && valueVisibility.value ? 'text' : 'password';