HTMLTextField: Set the 'dir' attribute in OOUI mode
authorBartosz Dziewoński <matma.rex@gmail.com>
Thu, 19 Jan 2017 15:19:27 +0000 (16:19 +0100)
committerBartosz Dziewoński <matma.rex@gmail.com>
Thu, 19 Jan 2017 15:19:27 +0000 (16:19 +0100)
Bug: T153636
Change-Id: I7ddf6a358f8150ef252d8d8e76661fe1eb93a790

includes/htmlform/fields/HTMLTextField.php

index c3da746..b0b66ca 100644 (file)
@@ -187,6 +187,7 @@ class HTMLTextField extends HTMLFormField {
                        'name' => $this->mName,
                        'value' => $value,
                        'type' => $type,
+                       'dir' => $this->mDir,
                ] + $attribs );
        }