Skip to content

Improve the error message when registering with oversized team #37

@jtojnar

Description

@jtojnar

We need to add information about limits to the validators

}, 'messages.team.error.too_many_members_simple'); // TODO: add params like in add/remove buttons

just like we have them in add/remove buttons:

$button->form->addError(Html::el()->setText($this->translator->translate('messages.team.error.too_many_members', $maxMembers, ['category' => $category])));

Depends on nette/forms#218

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions