force disable spellcheck for inputs

This commit is contained in:
Eduard Gert
2026-06-15 14:53:37 +02:00
parent 91cbae8910
commit 780296a7db
4 changed files with 17 additions and 0 deletions

View File

@@ -183,6 +183,7 @@ export const ProfileCreationModal = ({ open, onOpenChange, onCreate }: Props) =>
warning={urlInputWarning}
spellCheck={false}
autoComplete="off"
autoCorrect="off"
autoCapitalize="off"
/>
)}

View File

@@ -105,6 +105,10 @@ export function SettingsAdvanced() {
value={values.interfaceName}
error={errors.interfaceName}
onChange={(e) => setValues((v) => ({ ...v, interfaceName: e.target.value }))}
spellCheck={false}
autoComplete="off"
autoCorrect="off"
autoCapitalize="off"
/>
<div className={mdm.wireguardPort ? "" : "grid grid-cols-2 gap-4"}>
{!mdm.wireguardPort && (
@@ -151,6 +155,10 @@ export function SettingsAdvanced() {
placeholder={"kQv0qF3oQpJYdgD5mC9hL7sB2xZ8nT4eU6wY1aR3jK0="}
value={pskInputValue}
onChange={(e) => setPskInputValue(e.target.value)}
spellCheck={false}
autoComplete="new-password"
autoCorrect="off"
autoCapitalize="off"
/>
</div>
</SectionGroup>

View File

@@ -85,6 +85,10 @@ export function SettingsGeneral() {
? t("settings.general.management.urlUnreachable")
: undefined
}
spellCheck={false}
autoComplete="off"
autoCorrect="off"
autoCapitalize="off"
/>
<Button
variant={"primary"}

View File

@@ -101,6 +101,10 @@ export function WelcomeStepManagement({
error={inputError}
warning={inputWarning}
autoFocus
spellCheck={false}
autoComplete="off"
autoCorrect="off"
autoCapitalize="off"
/>
</div>
)}