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

Autocomplete form element clips the placeholder text

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Not a bug
    • Affects Version/s: 3.2.4, 3.3.1
    • Fix Version/s: None
    • Component/s: Forms Library, Usability
    • Labels:
    • Testing Instructions:
      Hide
      1. Copy test_autocomplete.php to your Moodle root directory.
      2. Open test_autocomplete.php on your browser.
      3. Check the placeholder text of the autocomplete form element.
        • Confirm that you can see the whole text.
      4. Reduce the width of the browser window down to about 350px.
        • Confirm that the appearance of the autocomplete form element still looks okay.
        • Confirm that the placeholder text will have the text that has been cut off replaced with ellipsis "..."
      Show
      Copy test_autocomplete.php to your Moodle root directory. Open test_autocomplete.php on your browser. Check the placeholder text of the autocomplete form element. Confirm that you can see the whole text. Reduce the width of the browser window down to about 350px. Confirm that the appearance of the autocomplete form element still looks okay. Confirm that the placeholder text will have the text that has been cut off replaced with ellipsis "..."
    • Affected Branches:
      MOODLE_32_STABLE, MOODLE_33_STABLE
    • Pull Master Branch:
      MDL-59648-master

      Description

      If you set a long text for the autocomplete form element as its placeholder, the text will just be clipped since the input element of the autocomplete element is set to a fixed size. This defeats the placeholder text's purpose which is meant to help the user understand what the autocomplete element does.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              jpataleta Jun Pataleta
              Reporter:
              jpataleta Jun Pataleta
              Participants:
              Component watchers:
              Adrian Greeve, Jake Dallimore, Mathew May, Mihail Geshoski, Peter Dias, Sujith Haridasan, Barbara Ramiro, Bas Brands
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: