merged branch Gregwar/email_guessing (PR #1970)
Commits
-------
80d1718
[Fix] Email() constraints now guess as 'email' field type
Discussion
----------
[Fix] Email() constraints now guess as 'email' field type
I don't know what this was set to "text"
This commit is contained in:
commit
e7ec02ffcc
@ -144,7 +144,7 @@ class ValidatorTypeGuesser implements FormTypeGuesserInterface
|
||||
);
|
||||
case 'Symfony\Component\Validator\Constraints\Email':
|
||||
return new TypeGuess(
|
||||
'text',
|
||||
'email',
|
||||
array(),
|
||||
Guess::HIGH_CONFIDENCE
|
||||
);
|
||||
|
Reference in New Issue
Block a user