Feature #39515
open
dir="auto" on all text fields
Added by mohammad assar about 1 year ago.
Updated about 1 year ago.
Description
Multi language text input require `dir="auto"` on text input, this simple change would significantly improve redmine for all Multilanguage usage
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>
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>
Also available in: Atom
PDF