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

mod_feedback: Input fields with type "text" and textarea input are shown with a fixed width on bootstrap based themes

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 2.5
    • Fix Version/s: 2.5.4, 2.6
    • Component/s: Feedback
    • Labels:
    • Testing Instructions:
      Hide
      1. Enable the feedback module going to the admin tree -> plugins -> activity modules -> Manage activities
      2. Go to a course and add a Feedback activity
      3. View the activity
      4. Create a new "Longer text answer" question
      5. Choose in the width setting list the value "80".
      6. Do the same with a "Short text answer" question.
      7. Have a look to the result with a) theme "Standard" and b) theme "Clean"
      8. With theme "Standard" all look fine.
      9. With theme "Clean" the width of the textarea and text input correct too.
      Show
      Enable the feedback module going to the admin tree -> plugins -> activity modules -> Manage activities Go to a course and add a Feedback activity View the activity Create a new "Longer text answer" question Choose in the width setting list the value "80". Do the same with a "Short text answer" question. Have a look to the result with a) theme "Standard" and b) theme "Clean" With theme "Standard" all look fine. With theme "Clean" the width of the textarea and text input correct too.
    • Affected Branches:
      MOODLE_25_STABLE
    • Fixed Branches:
      MOODLE_25_STABLE, MOODLE_26_STABLE
    • Pull from Repository:
    • Pull Master Branch:
      MDL-41775_master

      Description

      Questions of type "Longer text answer" and "Short text answer" only show a fixed width if the theme is based on bootstrap no matter what with is defined for this question.
      Test to reproduce:

      1. Create a new "Longer text answer" question
      2. Choose in the width setting list the value "80".
      3. Do the same with a "Short text answer" question.
      4. Have a look to the result with a) theme "Standard" and b) theme "Clean"
        With theme "Standard" all look fine.
        With theme "Clean" the width of the textarea and text input is not correct.

        Gliffy Diagrams

          Attachments

            Activity

              People

              • Votes:
                2 Vote for this issue
                Watchers:
                8 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:
                  Fix Release Date:
                  18/Nov/13