Project

General

Profile

Actions

Feature #21536

open

Edit watchers: add "autocomplete off" tag to Input field

Added by Thomas Zauner almost 9 years ago. Updated almost 9 years ago.

Status:
New
Priority:
Normal
Assignee:
-
Category:
Issues
Target version:
-
Start date:
Due date:
% Done:

0%

Estimated time:
Resolution:

Description

While assigning watchers to tickets, I usually type the first few letters of the names.
Due to the normal input field behaviour, the browser shows the last typed inputs as well which are overlapping the users result.

The browser behaviour can be disabled by adding autocomplete="off".
We use an older version 2.5.3 with rails 3.2.19. The needed change is in the file "app/views/watchers/_new.html.erb"
<%= text_field_tag ('user_search', nil, :autocomplete => 'off' ) %>

For newer versions the syntax might differ.

Actions #1

Updated by Thomas Zauner almost 9 years ago

Just tested on the redmine/demo site with redmine 3.x.
The input field looks similar to the older version and no autocomplete tag is rendered there as well.

<input type="text" name="user_search" id="user_search" class="autocomplete" data-value-was="">

Actions

Also available in: Atom PDF