Skip to content

Commit ba477f5

Browse files
Fix preset name box not being read-only
1 parent e2a91a2 commit ba477f5

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

app/components/EditProfileModal.tsx

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -65,6 +65,8 @@ export default function EditProfileModal({
6565
value={name}
6666
onChange={(e) => setName(e.target.value)}
6767
placeholder={DEFAULT_NAME}
68+
readOnly={isPreset}
69+
disabled={isPreset}
6870
/>
6971
</Form.Group>
7072
<Form.Group className="mb-3" controlId="editProfileCommand">

0 commit comments

Comments
 (0)