Skip to content

Commit 4198aaa

Browse files
committed
required fields
1 parent 77bb200 commit 4198aaa

File tree

2 files changed

+8
-8
lines changed

2 files changed

+8
-8
lines changed

apps/dashboard/src/components/engine/configuration/kms-aws-config.tsx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -106,7 +106,7 @@ export const KmsAwsConfig: React.FC<KmsAwsConfigProps> = ({ instance }) => {
106106
form.getFieldState("awsRegion", form.formState).error?.message
107107
}
108108
htmlFor="aws-region"
109-
isRequired={false}
109+
isRequired
110110
tooltip={null}
111111
>
112112
<Input
@@ -125,7 +125,7 @@ export const KmsAwsConfig: React.FC<KmsAwsConfigProps> = ({ instance }) => {
125125
?.message
126126
}
127127
htmlFor="aws-access-key"
128-
isRequired={false}
128+
isRequired
129129
tooltip={null}
130130
>
131131
<Input
@@ -144,7 +144,7 @@ export const KmsAwsConfig: React.FC<KmsAwsConfigProps> = ({ instance }) => {
144144
?.message
145145
}
146146
htmlFor="aws-secret-key"
147-
isRequired={false}
147+
isRequired
148148
tooltip={null}
149149
>
150150
<Input

apps/dashboard/src/components/engine/configuration/kms-gcp-config.tsx

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -111,7 +111,7 @@ export const KmsGcpConfig: React.FC<KmsGcpConfigProps> = ({ instance }) => {
111111
?.message
112112
}
113113
htmlFor="gcp-location-id"
114-
isRequired={false}
114+
isRequired
115115
tooltip={null}
116116
>
117117
<Input
@@ -129,7 +129,7 @@ export const KmsGcpConfig: React.FC<KmsGcpConfigProps> = ({ instance }) => {
129129
?.message
130130
}
131131
htmlFor="gcp-key-ring-id"
132-
isRequired={false}
132+
isRequired
133133
tooltip={null}
134134
>
135135
<Input
@@ -148,7 +148,7 @@ export const KmsGcpConfig: React.FC<KmsGcpConfigProps> = ({ instance }) => {
148148
.error?.message
149149
}
150150
htmlFor="gcp-project-id"
151-
isRequired={false}
151+
isRequired
152152
tooltip={null}
153153
>
154154
<Input
@@ -169,7 +169,7 @@ export const KmsGcpConfig: React.FC<KmsGcpConfigProps> = ({ instance }) => {
169169
).error?.message
170170
}
171171
htmlFor="gcp-credential-email"
172-
isRequired={false}
172+
isRequired
173173
tooltip={null}
174174
>
175175
<Input
@@ -191,7 +191,7 @@ export const KmsGcpConfig: React.FC<KmsGcpConfigProps> = ({ instance }) => {
191191
).error?.message
192192
}
193193
htmlFor="gcp-private-key"
194-
isRequired={false}
194+
isRequired
195195
tooltip={null}
196196
>
197197
<Textarea

0 commit comments

Comments
 (0)