From 1924298335692eebc79266fe1000895a136defd9 Mon Sep 17 00:00:00 2001 From: bndw Date: Sun, 11 Jul 2021 11:26:44 -0700 Subject: Disable autocorrections on input fields --- src/components/Card.js | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/src/components/Card.js b/src/components/Card.js index 4ec4430..7d24f88 100644 --- a/src/components/Card.js +++ b/src/components/Card.js @@ -71,6 +71,10 @@ export const Card = () => { type="text" maxLength="32" placeholder="WiFi Network name" + autoComplete="off" + autoCorrect="off" + autoCapitalize="none" + spellCheck="false" value={network.ssid} onChange={(e) => setNetwork({ ...network, ssid: e.target.value })} /> @@ -84,6 +88,10 @@ export const Card = () => { }} maxLength="63" placeholder="Password" + autoComplete="off" + autoCorrect="off" + autoCapitalize="none" + spellCheck="false" value={network.password} onChange={(e) => setNetwork({ ...network, password: e.target.value }) -- cgit v1.2.3