In lessons, number of random activities should only be visible if random activities is selected

Created on 21 January 2026, about 9 hours ago

Problem/Motivation

In the Lesson form, Number of Random Activities should only be visible if Random activities is selected in the Randomize activities field.

Steps to reproduce

Create a lesson. Noticed that the Number of random activities field is always visible. It should only be visible if Random activities is selected in the Randomize activities field.

Proposed resolution

Use states API to hide the hide the Number of random activities field per the above logic.

Remaining tasks

Implement feature.

User interface changes

the Number of random activities unless Random activities is selected in the Randomize activities field.

API changes

None.

Data model changes

None.

Feature request
Status

Active

Version

1.1

Component

Courses and lessons

Created by

🇳🇮Nicaragua dinarcon

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Merge Requests

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

Production build 0.71.5 2024