Actions
Feature #39515
opendir="auto" on all text fields
Status:
New
Priority:
Normal
Assignee:
-
Category:
UI
Target version:
-
Start date:
Due date:
% Done:
0%
Estimated time:
Resolution:
Description
Multi language text input require `dir="auto"` on text input, this simple change would significantly improve redmine for all Multilanguage usage
Updated by Go MAEDA about 1 year ago
Do you think the following change work?
diff --git a/app/views/layouts/base.html.erb b/app/views/layouts/base.html.erb
index bcd6622a7..e8a82d989 100644
--- a/app/views/layouts/base.html.erb
+++ b/app/views/layouts/base.html.erb
@@ -1,5 +1,5 @@
<!DOCTYPE html>
-<html lang="<%= current_language %>">
+<html lang="<%= current_language %>" dir="auto">
<head>
<meta charset="utf-8" />
<title><%= html_title %></title>
Updated by mohammad assar about 1 year ago
Hi, thanks but no the attribute should be present on all <input /> tags like this:
<input dir="auto" type="text" name="title" />
<textarea dir="auto"></textarea>
Actions