Uploaded image for project: 'Moodle'
  1. Moodle
  2. MDL-51948

Set TEXT and TEXTAREA form fields directionality to LTR and alignment to left in special LTR form fields, when in RTL mode

XMLWordPrintable

    • MOODLE_29_STABLE
    • MDL-51948-master
    • Hide
      1. Roam around admin settings
      2. Roam around various forms
      3. Confirm that the technical data contained in the fields is flowing left-to-right when using an RTL language.
        • Technical fields means URLs, path to files, config snippets, numbers, email addresses, sequence of terms, etc...
        • Non-technical fields can contain string in various languages (name of a person, title of a course, description of an assignment, etc...)
      Show
      Roam around admin settings Roam around various forms Confirm that the technical data contained in the fields is flowing left-to-right when using an RTL language. Technical fields means URLs, path to files, config snippets, numbers, email addresses, sequence of terms, etc... Non-technical fields can contain string in various languages (name of a person, title of a course, description of an assignment, etc...)

      Some form fields should always be left aligned and their directionality set to LTR.

      The following, is a list of INPUT fields of type TEXT and TEXTAREA that needs to be using directionality LTR and alignment LEFT when displayed in RTL UI. as the input data needs to be treated as LTR content.

      (URLs, OS level Folders & apps, theme hex colors, English DB field names, emails, English text, numbers, regular expression patterns, symbols)

      I was going throughout the entire admin menu and getting each setting page name and list of fields that are relevant for this fix.

      In general, I would suggest we add a new class to reflect situations when input text & textarea form fields needs not to be RTL aligned and directionality be set to RTL when in RTL mode.
      so we can put together a loooong CSS selector that left align them all, when in RTL mode.
      (Unless there is a better idea)

      We should remove all current RTL selectors that partially fix some of the form fields on the list (those that are marked as so) and add new special selectors at the end of all cascaded CSS files so it overrides whatever RTL selectors that might generally (and not explicitly) improperly right align the UI when it is not needed.

            fred Frédéric Massart
            nadavkav Nadav Kavalerchik
            Damyon Wiese Damyon Wiese
            Votes:
            0 Vote for this issue
            Watchers:
            8 Start watching this issue

              Created:
              Updated:
              Resolved:

                Error rendering 'clockify-timesheets-time-tracking-reports:timer-sidebar'. Please contact your Jira administrators.