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

Textarea field in mod_data doesn't properly display required field indicator

    XMLWordPrintable

    Details

    • Testing Instructions:
      Hide
      1. Create a new Database activity
      2. Navigate to the Fields tab
      3. Next to Create a new field select Textarea
      4. Enter a Field name and Field description
      5. Ensure that Required field is checked
      6. Press Add
      7. Navigate to Add entry tab
      8. Confirm presence of required field indicator next to the field you created
      Show
      Create a new Database activity Navigate to the Fields tab Next to Create a new field select Textarea Enter a Field name and Field description Ensure that Required field is checked Press Add Navigate to Add entry tab Confirm presence of required field indicator next to the field you created
    • Affected Branches:
      MOODLE_34_STABLE, MOODLE_35_STABLE, MOODLE_36_STABLE, MOODLE_37_STABLE
    • Fixed Branches:
      MOODLE_36_STABLE, MOODLE_37_STABLE
    • Pull Master Branch:

      Description

      When working on a database activity recently was asked about making a textarea field required. I noticed that it was already required in the settings and I confirmed that it did force an entry before the form could be submitted; however there was no visual indicator that the field was required unlike the other required fields.

      I tested on multiple versions and confirmed this appears to have been the case since at least Moodle 3.3+ and is still present in the latest 3.6 release. 

        

        

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              pholden Paul Holden
              Reporter:
              schweit@isu Jeremy Schweitzer
              Peer reviewer:
              Mihail Geshoski
              Integrator:
              Eloy Lafuente (stronk7)
              Tester:
              Anna Carissa Sadia
              Participants:
              Component watchers:
              Adrian Greeve, Jake Dallimore, Mathew May, Mihail Geshoski, Peter Dias
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:
                Fix Release Date:
                8/Jul/19

                  Time Tracking

                  Estimated:
                  Original Estimate - 0 minutes
                  0m
                  Remaining:
                  Remaining Estimate - 0 minutes
                  0m
                  Logged:
                  Time Spent - 1 hour, 30 minutes
                  1h 30m