Permalink
Browse files

Document the new 'email_valid_params' attribute

d8ae8b6 added code for this feature without documentation.
  • Loading branch information...
1 parent f4265bc commit b057fde10e94a4e91e5cf70bd97647d8c4f2e6c7 @tomhukins tomhukins committed Sep 21, 2013
Showing with 4 additions and 0 deletions.
  1. +4 −0 lib/HTML/FormHandler/Field/Email.pm
View
4 lib/HTML/FormHandler/Field/Email.pm
@@ -55,6 +55,10 @@ Widget type is 'text'.
If form has 'is_html5' flag active it will render <input type="email" ... />
instead of type="text"
+This field has an 'email_valid_params' attribute that accepts a hash
+reference of extra values passed to L<Email::Valid/address> when
+validating email addresses.
+
=head1 DEPENDENCIES
L<Email::Valid>

0 comments on commit b057fde

Please sign in to comment.