diff options
author | Struan Donald <struan@exo.org.uk> | 2019-06-13 13:49:36 +0100 |
---|---|---|
committer | Struan Donald <struan@exo.org.uk> | 2019-08-02 09:38:05 +0100 |
commit | c21d5b650fcd7e5b745461628b5eb48c1f22ac23 (patch) | |
tree | e670dbf676c1ae24392227a1a8aee4d7aa5f3e62 | |
parent | d43dcaeccd714926c7dd9d00c554d16d179c21ab (diff) |
set autocomplete to off for report title
Some browsers seem to be autocompleting title with the user's email
address so try turning this off to see if it helps.
-rw-r--r-- | CHANGELOG.md | 2 | ||||
-rw-r--r-- | templates/web/base/report/new/form_title.html | 2 |
2 files changed, 3 insertions, 1 deletions
diff --git a/CHANGELOG.md b/CHANGELOG.md index 798d5ec25..170d4de5b 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -22,6 +22,8 @@ - Fix front-end testing script when run with Vagrant. #2514 - Handle missing category when sending open311 reports #2502 - Fix label associations with category groups. #2541 + - Front end improvements: + - Set report title autocomplete to off to prevent email autocompleting - Development improvements: - Upgrade the underlying framework and a number of other packages. #2473 - Add feature cobrand helper function. diff --git a/templates/web/base/report/new/form_title.html b/templates/web/base/report/new/form_title.html index b436092d8..a20d836ac 100644 --- a/templates/web/base/report/new/form_title.html +++ b/templates/web/base/report/new/form_title.html @@ -5,4 +5,4 @@ [% IF field_errors.title %] <p class='form-error'>[% field_errors.title %]</p> [% END %] -<input class="form-control" type="text" value="[% report.title | html %]" name="title" id="form_title" aria-describedby="title-hint" required> +<input class="form-control" type="text" value="[% report.title | html %]" name="title" id="form_title" aria-describedby="title-hint" required autocomplete="off"> |