You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
There is no logic behind the max_length option except for setting the maxlength attribute in the HTML tag. Consequently, the option should be removed and usages changed to:
Under Symfony 2.3.2 I couldn't get the maximum length for my input field to work using "max_length". In fact setting the "max_length" in my attr array simply added "max_length" to the actual input field attribute. I switched to "maxlength" and it worked. Documentation here needs to be updated: http://symfony.com/doc/current/reference/forms/twig_reference.html#twig-reference-form-variables
There is no logic behind the
max_length
option except for setting themaxlength
attribute in the HTML tag. Consequently, the option should be removed and usages changed to:The text was updated successfully, but these errors were encountered: