>
> I have installed last version of Mojolicious and I found that the $
> ->has_error validation method was working with an error.
> When I send data form with empty field, which must be required full, I get
> empty value of $v->has_error. This method worked correctly in previous
> version of Mojolicious (8.28 and 8.33) I used.
> Please explain how to fix this bug.
>
Your description is very vague, so i can only guess. But you probably want
to use the not_empty filter on the affected field.
https://mojolicious.org/perldoc/Mojolicious/Validator#not_empty
--
sebastian
--
You received this message because you are subscribed to the Google Groups
"Mojolicious" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/mojolicious/10a06567-66d7-46f3-a8e3-e74bc02b86e8%40googlegroups.com.