Skip to content

Soft limits on number of copies #75

Open
@jtojnar

Description

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?

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions