From d3de97b244b0b09b7dc9a753c9c17b45793d56bb Mon Sep 17 00:00:00 2001 From: Steffen van Bergerem Date: Sun, 19 Mar 2017 18:58:20 +0100 Subject: [PATCH] Disable autocomplete for the conversation form recipient input closes #7375 --- Changelog.md | 1 + app/views/conversations/_new.haml | 7 ++++++- 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/Changelog.md b/Changelog.md index ea35401f6..85e7e0845 100644 --- a/Changelog.md +++ b/Changelog.md @@ -7,6 +7,7 @@ ## Bug fixes * Don't hide posts when blocking someone from the profile [#7379](https://github.com/diaspora/diaspora/pull/7379) +* Disable autocomplete for the conversation form recipient input [#7375](https://github.com/diaspora/diaspora/pull/7375) ## Features * Add links to liked and commented pages [#5502](https://github.com/diaspora/diaspora/pull/5502) diff --git a/app/views/conversations/_new.haml b/app/views/conversations/_new.haml index c84a6b95a..17eaed4af 100644 --- a/app/views/conversations/_new.haml +++ b/app/views/conversations/_new.haml @@ -4,7 +4,12 @@ .form-group %label#to-label{for: "contacts-search-input"}= t(".to") .recipients-tag-list.clearfix#recipients-tag-list - = text_field_tag "contact_autocomplete", nil, id: "contacts-search-input", class: "form-control" + = text_field_tag "contact_autocomplete", + nil, + id: "contacts-search-input", + class: "form-control", + autocomplete: "off" + - unless defined?(mobile) && mobile = text_field_tag "person_ids", nil, id: "contact-ids", type: "hidden", aria: {labelledby: "to-label"}