aboutsummaryrefslogtreecommitdiffstats
path: root/src/components/Card.js
diff options
context:
space:
mode:
authorbndw <ben@bdw.to>2021-07-11 11:26:44 -0700
committerbndw <ben@bdw.to>2021-07-11 11:26:44 -0700
commit1924298335692eebc79266fe1000895a136defd9 (patch)
treed889c5b2a95f2c816a897b618787ad25afab8095 /src/components/Card.js
parent31f82e8918ba20549ab573b88148f4c96b5c0063 (diff)
Disable autocorrections on input fields
Diffstat (limited to 'src/components/Card.js')
-rw-r--r--src/components/Card.js8
1 files changed, 8 insertions, 0 deletions
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 = () => {
71 type="text" 71 type="text"
72 maxLength="32" 72 maxLength="32"
73 placeholder="WiFi Network name" 73 placeholder="WiFi Network name"
74 autoComplete="off"
75 autoCorrect="off"
76 autoCapitalize="none"
77 spellCheck="false"
74 value={network.ssid} 78 value={network.ssid}
75 onChange={(e) => setNetwork({ ...network, ssid: e.target.value })} 79 onChange={(e) => setNetwork({ ...network, ssid: e.target.value })}
76 /> 80 />
@@ -84,6 +88,10 @@ export const Card = () => {
84 }} 88 }}
85 maxLength="63" 89 maxLength="63"
86 placeholder="Password" 90 placeholder="Password"
91 autoComplete="off"
92 autoCorrect="off"
93 autoCapitalize="none"
94 spellCheck="false"
87 value={network.password} 95 value={network.password}
88 onChange={(e) => 96 onChange={(e) =>
89 setNetwork({ ...network, password: e.target.value }) 97 setNetwork({ ...network, password: e.target.value })