*}name="{@$field->getPrefixedId()}" {*
*}value="{if !$field->isI18n() || !$field->hasI18nValues() || $availableLanguages|count === 1}{$field->getValue()}{/if}" {*
*}{if !$field->getFieldClasses()|empty}class="{implode from=$field->getFieldClasses() item='class' glue=' '}{$class}{/implode}" {/if}{*
- *}autocomplete="off" {*
+ *}{if $field->getAutoComplete() !== null}autocomplete="{$field->getAutoComplete()}" {/if}{*
*}pattern="[0-9\s]*" {*
*}inputmode="numeric"{*
*}{if $field->getChunks() && $field->getChunkLength()} size="{$field->getChunks() - 1 + $field->getChunks() * $field->getChunkLength()}"{/if}{*
*}name="{@$field->getPrefixedId()}" {*
*}value="{if !$field->isI18n() || !$field->hasI18nValues() || $availableLanguages|count === 1}{$field->getValue()}{/if}" {*
*}{if !$field->getFieldClasses()|empty}class="{implode from=$field->getFieldClasses() item='class' glue=' '}{$class}{/implode}" {/if}{*
- *}autocomplete="off" {*
+ *}{if $field->getAutoComplete() !== null}autocomplete="{$field->getAutoComplete()}" {/if}{*
*}pattern="[0-9\s]*" {*
*}inputmode="numeric"{*
*}{if $field->getChunks() && $field->getChunkLength()} size="{$field->getChunks() - 1 + $field->getChunks() * $field->getChunkLength()}"{/if}{*
$this->chunkLength(BackupMultifactorMethod::CHUNK_LENGTH);
$this->minimumLength($this->getChunks() * $this->getChunkLength());
$this->addFieldClass('multifactorBackupCode');
+ $this->autoComplete('off');
$placeholder = '';
$gen = Helper::digitStream();