Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Валидация формы #166

Open
dyachkovD opened this issue Jul 8, 2015 · 1 comment
Open

Валидация формы #166

dyachkovD opened this issue Jul 8, 2015 · 1 comment

Comments

@dyachkovD
Copy link

При указании элементу формы правила валидации вида:

$form->items([
    FormItem::date('date', 'Дата')->validationRule('required|date')
]);

возникает исключение "BadMethodCallException in Validator.php line 2584: Method [validateRequired|date] does not exist", хотя в документации по v3, явно указано, что поддерживается разделитель | . Версия фреймверка 5.1.6 (LTS).

@black-roland
Copy link

Давай pull request.

sleeping-owl added a commit that referenced this issue Sep 3, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants