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

hideIf function doesn't work with editor field

XMLWordPrintable

    • MOODLE_38_STABLE, MOODLE_403_STABLE, MOODLE_404_STABLE
    • MOODLE_403_STABLE, MOODLE_404_STABLE
    • MDL-68540-403
    • MDL-68540-404
    • MDL-68540-main
    • Hide

      Automated testing

      Covered by new scenario in lib/form/tests/behat/hideif.feature

      Manual testing

      1. Login as admin.
      2. Navigate to Site administration > Appearance > User tours
      3. Click on Create a new tour.
      4. Set the name to: Test MDL-68540
      5. Save changes.
      6. Click on the created Tour.
      7. Click on New step.
      8. Verify that the Content type combox box value is Manual.
      9. Verify that you will see a text editor for Content.
      10. Verify that you will not see the Language string ID field.
      11. Change the Content type combobox to Language string ID.
      12. Verify that you will not see the text editor for Content.
      13. Verify that you will see Language string ID field.

       

      Show
      Automated testing Covered by new scenario in lib/form/tests/behat/hideif.feature Manual testing Login as admin. Navigate to Site administration > Appearance > User tours Click on Create a new tour. Set the name to: Test MDL-68540 Save changes. Click on the created Tour. Click on New step. Verify that the Content type combox box value is Manual . Verify that you will see a text editor for Content . Verify that you will not see the Language string ID field. Change the Content type combobox to Language string ID . Verify that you will not see the text editor for Content . Verify that you will see Language string ID field.  
    • 2
    • Team Hedgehog 2024 Sprint 2.1, Team Hedgehog 2024 Sprint 2.2
    • Small

      In a form when I use the hideIf function to hide an editor field it doesn't seem to work.

      The field is disabled but not hidden.

            david.woloszyn@moodle.com David Woloszyn
            sergeg55 Serge Gauthier
            Meirza Meirza
            Huong Nguyen Huong Nguyen
            Ron Carl Alfon Yu Ron Carl Alfon Yu
            Votes:
            1 Vote for this issue
            Watchers:
            11 Start watching this issue

              Created:
              Updated:
              Resolved:

                Estimated:
                Original Estimate - 0 minutes
                0m
                Remaining:
                Remaining Estimate - 0 minutes
                0m
                Logged:
                Time Spent - 2 days, 3 hours, 50 minutes
                2d 3h 50m

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