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:
parent
070e950c06
commit
aa54681372
|
@ -84,8 +84,8 @@ class PasswordField extends TextField
|
||||||
}
|
}
|
||||||
|
|
||||||
return array_merge(
|
return array_merge(
|
||||||
parent::getAttributes(),
|
$attributes,
|
||||||
$attributes
|
parent::getAttributes()
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue