diff options
| author | Martin Geubelle <mge@odoo.com> | 2017-05-30 11:28:05 +0200 |
|---|---|---|
| committer | Martin Geubelle <mge@odoo.com> | 2017-05-31 14:10:13 +0200 |
| commit | e116a69f25d3d3dcfa9ee12b34c33d9c3658bb46 (patch) | |
| tree | 268662d9d6d368f512fbf1a41946ad494ade9ad4 /addons/web/static/src/js/views/basic/basic_model.js | |
| parent | e3fdce964357a0bf38b3925637da2ed712e8e315 (diff) | |
[FIX] web: properly handle autocomplete attribute
With the new views, the attribute autocomplete on input was no
longer supported. We simply reintroduce its support in this commit.
The basic attribute values are 'on' and 'off' but one may want to use a
random string.
Note that an input with type='password' is a special case: the autocomplete
attribute should always be set to 'new-password' to remove autocompletion
(autocomplete='off' doesn't actually remove the autocompletion).
Diffstat (limited to 'addons/web/static/src/js/views/basic/basic_model.js')
0 files changed, 0 insertions, 0 deletions
