Skip to content

Commit

Permalink
Ensure that the spellcheck attribute is set to off when the show pass…
Browse files Browse the repository at this point in the history
…word function is used
  • Loading branch information
brianteeman committed Nov 18, 2022
1 parent baf67cb commit 5b74f32
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions build/media_source/system/js/fields/passwordview.es6.js
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,9 @@
// Update the input type
input.type = 'text';

// Disable the spellcheck attribute
input.setAttribute('spellcheck', 'false');

// Focus the input field
input.focus();

Expand Down

0 comments on commit 5b74f32

Please sign in to comment.