プロジェクト

全般

プロフィール

Vote #77022

未完了

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

Admin Redmine さんが約4年前に追加. 約4年前に更新.

ステータス:
New
優先度:
通常
担当者:
-
カテゴリ:
Issues_2
対象バージョン:
-
開始日:
2022/05/09
期日:
進捗率:

0%

予定工数:
category_id:
2
version_id:
0
issue_org_id:
21536
author_id:
118139
assigned_to_id:
0
comments:
1
status_id:
1
tracker_id:
2
plus1:
0
affected_version:
closed_on:
affected_version_id:
ステータス-->[New]

説明

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.


journals

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="">
--------------------------------------------------------------------------------

Admin Redmine さんが約4年前に更新

  • カテゴリIssues_2 にセット

他の形式にエクスポート: Atom PDF

いいね!0
いいね!0