Skip to content

Commit

Permalink
Disable autofill in configure-beta
Browse files Browse the repository at this point in the history
  • Loading branch information
tariqksoliman committed Jan 3, 2025
1 parent 9e60c25 commit 7a04c35
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions configure/src/core/Maker.js
Original file line number Diff line number Diff line change
Expand Up @@ -240,6 +240,9 @@ const getComponent = (
label={com.name}
variant="filled"
size="small"
inputProps={{
autoComplete: "off",
}}
value={value != null ? value : getIn(directConf, com.field, "")}
onChange={(e) => {
updateConfiguration(forceField || com.field, e.target.value, layer);
Expand Down Expand Up @@ -355,6 +358,9 @@ const getComponent = (
label={com.name}
variant="filled"
size="small"
inputProps={{
autoComplete: "off",
}}
value={text_array_f}
onChange={(e) => {
updateConfiguration(com.field, e.target.value.split(","), layer);
Expand Down Expand Up @@ -437,6 +443,9 @@ const getComponent = (
label={com.name}
variant="filled"
size="small"
inputProps={{
autoComplete: "off",
}}
value={value != null ? value : getIn(directConf, com.field, "")}
onChange={(e) => {
let v = e.target.value;
Expand Down

0 comments on commit 7a04c35

Please sign in to comment.