*}name="{@$field->getPrefixedId()}" {*
*}rows="{@$field->getRows()}"{*
*}{if !$field->getFieldClasses()|empty} class="{implode from=$field->getFieldClasses() item='class' glue=' '}{$class}{/implode}"{/if}{*
+ *}{if $field->getAutoComplete() !== null} autocomplete="{$field->getAutoComplete()}"{/if}{*
*}{if $field->isAutofocused()} autofocus{/if}{*
*}{if $field->isRequired()} required{/if}{*
*}{if $field->isImmutable()} disabled{/if}{*
*}name="{@$field->getPrefixedId()}" {*
*}rows="{@$field->getRows()}"{*
*}{if !$field->getFieldClasses()|empty} class="{implode from=$field->getFieldClasses() item='class' glue=' '}{$class}{/implode}"{/if}{*
+ *}{if $field->getAutoComplete() !== null} autocomplete="{$field->getAutoComplete()}"{/if}{*
*}{if $field->isAutofocused()} autofocus{/if}{*
*}{if $field->isRequired()} required{/if}{*
*}{if $field->isImmutable()} disabled{/if}{*
*/
protected $templateName = '__multilineTextFormField';
+ /**
+ * @inheritDoc
+ * @since 5.4
+ */
+ protected function getValidAutoCompleteTokens(): array {
+ return array_merge(
+ parent::getValidAutoCompleteTokens(),
+ ['street-address']
+ );
+ }
+
/**
* Returns the number of rows of the textarea. If the number of rows has not been
* explicitly set, `10` is returned.