Skip to content

Commit

Permalink
[BUGFIX] Avoid autocompletion in TCA type password
Browse files Browse the repository at this point in the history
Resolves TYPO3-Documentation/Changelog-To-Doc#851
Releases: main, 12.4
  • Loading branch information
linawolf authored Aug 20, 2024
1 parent a07f535 commit bc4f2a1
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,9 @@
:Scope: Display
:Default: false

Controls the `autocomplete` attribute of a given input field. If set to true,
adds attribute :php:`autocomplete="on"` to the input field allowing browser
auto filling the field:
By default, the :php:`autocomplete=new-password` attribute will be added to the
resulting input field. If :php:`autocomplete=true` is configured in TCA, a
:php:`autocomplete=current-password` attribute will be added to the element.

.. literalinclude:: _Snippets/_Autocomplete.php
:emphasize-lines: 6

0 comments on commit bc4f2a1

Please sign in to comment.