Skip to content

Build your personal knowledge base with Trilium Notes

chore(standalone/setup): add autocomplete attributes to sync setup

Elian Doran54b12cf56002
diff --git a/apps/client/src/setup.tsx b/apps/client/src/setup.tsx
index e56b83f4ee..31db4b6133 100644
--- a/apps/client/src/setup.tsx
+++ b/apps/client/src/setup.tsx
@@ -321,7 +321,12 @@ function SyncFromServer({ setState }: { setState: (state: State) => void }) {
<Card>
<CardSection>
<FormGroup label={t("setup.server-host")} name="serverHost">
- <FormTextBox placeholder={t("setup.server-host-placeholder")} currentValue={syncServerHost} onChange={setSyncServerHost} required />
+ <FormTextBox
+ placeholder={t("setup.server-host-placeholder")}
+ currentValue={syncServerHost} onChange={setSyncServerHost}
+ autocomplete="trilium-sync-server-host"
+ required
+ />
</FormGroup>
</CardSection>
@@ -333,6 +338,7 @@ function SyncFromServer({ setState }: { setState: (state: State) => void }) {
<FormTextBox
type="password"
currentValue={password} onChange={setPassword}
+ autocomplete="trilium-sync-server-password"
required
/>
</FormGroup>