Skip to content

TagSpaces is an offline, open source, document manager with tagging support

chore: marking required fields in the location properties form

Ilian Sapundshiev65586f81800d
diff --git a/app/components/dialogs/ObjectStoreForm.tsx b/app/components/dialogs/ObjectStoreForm.tsx
index 83afd2252..05c585e8b 100644
--- a/app/components/dialogs/ObjectStoreForm.tsx
+++ b/app/components/dialogs/ObjectStoreForm.tsx
@@ -186,6 +186,7 @@ function ObjectStoreForm(props: Props) {
<FormControl fullWidth={true} error={cloudErrorAccessKey}>
<TextField
margin="dense"
+ required
name="accessKeyId"
fullWidth={true}
data-tid="accessKeyId"
@@ -203,6 +204,7 @@ function ObjectStoreForm(props: Props) {
<FormControl fullWidth={true} error={cloudErrorSecretAccessKey}>
<TextField
margin="dense"
+ required
name="secretAccessKey"
type={showSecretAccessKey ? 'text' : 'password'}
fullWidth={true}