*}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}{*
*}{if $field->getMaximumLength() !== null}size="{$field->getMaximumLength()}" {/if}{*
*}pattern="[0-9]*" {*
*}inputmode="numeric"{*
*}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}{*
*}{if $field->getMaximumLength() !== null}size="{$field->getMaximumLength()}" {/if}{*
*}pattern="[0-9]*" {*
*}inputmode="numeric"{*
$this->minimumLength(EmailMultifactorMethod::LENGTH);
$this->maximumLength(EmailMultifactorMethod::LENGTH);
$this->addFieldClass('multifactorEmailCode');
+ $this->autoComplete('off');
$placeholder = '';
$gen = Helper::digitStream();