Skip to content

Commit 7a04c35

Browse files
committed
Disable autofill in configure-beta
1 parent 9e60c25 commit 7a04c35

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

configure/src/core/Maker.js

+9
Original file line numberDiff line numberDiff line change
@@ -240,6 +240,9 @@ const getComponent = (
240240
label={com.name}
241241
variant="filled"
242242
size="small"
243+
inputProps={{
244+
autoComplete: "off",
245+
}}
243246
value={value != null ? value : getIn(directConf, com.field, "")}
244247
onChange={(e) => {
245248
updateConfiguration(forceField || com.field, e.target.value, layer);
@@ -355,6 +358,9 @@ const getComponent = (
355358
label={com.name}
356359
variant="filled"
357360
size="small"
361+
inputProps={{
362+
autoComplete: "off",
363+
}}
358364
value={text_array_f}
359365
onChange={(e) => {
360366
updateConfiguration(com.field, e.target.value.split(","), layer);
@@ -437,6 +443,9 @@ const getComponent = (
437443
label={com.name}
438444
variant="filled"
439445
size="small"
446+
inputProps={{
447+
autoComplete: "off",
448+
}}
440449
value={value != null ? value : getIn(directConf, com.field, "")}
441450
onChange={(e) => {
442451
let v = e.target.value;

0 commit comments

Comments
 (0)