Skip to content

Commit 10e9b74

Browse files
committed
feat: add environment name requirements alert and enforce max length of 32 characters
1 parent 59a5ef7 commit 10e9b74

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

frontend/components/environments/ManageEnvironmentDialog.tsx

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -74,6 +74,8 @@ const RenameEnvironment = (props: { environment: EnvironmentType }) => {
7474
setValue={setName}
7575
label="Environment name"
7676
required
77+
maxLength={32}
78+
data-autofocus
7779
disabled={!allowRename}
7880
/>
7981
{allowRename && (

0 commit comments

Comments
 (0)