We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b65576f commit 07a99f0Copy full SHA for 07a99f0
.changeset/fuzzy-kiwis-crash.md
@@ -0,0 +1,5 @@
1
+---
2
+'hive': patch
3
4
+
5
+Improve usability when creating a registry access token.
packages/web/app/src/components/target/settings/cdn-access-tokens.tsx
@@ -98,6 +98,12 @@ function CreateCDNAccessTokenModal(props: {
98
onBlur={form.handleBlur}
99
disabled={form.isSubmitting}
100
isInvalid={form.touched.alias && !!form.errors.alias}
101
+ onKeyPress={ev => {
102
+ if (ev.key === 'Enter') {
103
+ ev.preventDefault();
104
+ form.handleSubmit();
105
+ }
106
+ }}
107
/>
108
{form.touched.alias && form.errors.alias ? (
109
<span className="text-sm text-red-500">{form.errors.alias}</span>
0 commit comments