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

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

XMLWordPrintable

    • MOODLE_34_STABLE, MOODLE_35_STABLE, MOODLE_36_STABLE, MOODLE_37_STABLE
    • MOODLE_36_STABLE, MOODLE_37_STABLE
    • 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

      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. 

        

        

            pholden Paul Holden
            schweit@isu Jeremy Schweitzer
            Mihail Geshoski Mihail Geshoski
            Eloy Lafuente (stronk7) Eloy Lafuente (stronk7)
            Anna Carissa Sadia Anna Carissa Sadia
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated:
              Resolved:

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

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