Skip to content

Soft limits on number of copies #75

@jtojnar

Description

@jtojnar

I have a registration for a team race, which allows the teams consisting of two to five people. For this, the minCopies and maxCopies parameters work great. But now I also want to allow a special race category that only admits pairs.

The form has a category SelectBox, to which I attached a validation rule to prevent submitting the form with too many participants than the category allows. But I would still like to disable adding more copies than allowed for the category. Only I cannot just change the maxCopies or it would also hide the “Add” button, preventing adding a member even after changing the category back.

Would a PR adding a feature to support this be accepted?

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    Status

    Triage: Next

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions