IMPR: Allow to customize autocomplete attribute

Accordingly to https://developer.mozilla.org/en-US/docs/Web/HTML/Attributes/autocomplete
I'd like to set autocompleate="current-password"
This commit is contained in:
Tony Air 2021-01-14 22:12:28 +07:00 committed by GitHub
parent 070e950c06
commit aa54681372
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions

View File

@ -84,8 +84,8 @@ class PasswordField extends TextField
}
return array_merge(
parent::getAttributes(),
$attributes
$attributes,
parent::getAttributes()
);
}