Enrollment limit label issue event

Created on 19 December 2024, 20 days ago

Problem/Motivation

The enrollment limit label should not be visible when the limit is disabled.

Steps to reproduce

  1. Enable the `social_event_max_enroll` module.
  2. Go to the `/admin/config/opensocial/event-max-enroll` page and check if the `Enable maximum number of event enrollments` checkbox is enabled.
  3. Go to the `/node/add/event` page.
  4. Scroll to the Access permissions section and find the `Enrollment limit`.
  5. Go to the `/admin/config/opensocial/event-max-enroll` page and uncheck the `Enable maximum number of event enrollments` checkbox.
  6. Go to the `/node/add/event` page.
  7. Scroll to the Access permissions section and check if the `Enrollment limit` is displayed.

Proposed resolution

Add condition and check if the `Enable maximum number of event enrollments` setting is disabled and hide the `Enrollment limit` option on the event create form.

Remaining tasks

n/a

User interface changes

When the Event enrollment limit is disabled the user does not see the field or the label of the enrollment limit in the event

API changes

n/a

Data model changes

n/a

πŸ› Bug report
Status

Active

Version

13.0

Component

Code (back-end)

Created by

πŸ‡ΊπŸ‡¦Ukraine Agami4

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

Comments & Activities

Production build 0.71.5 2024