-
-
Notifications
You must be signed in to change notification settings - Fork 2k
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
email_field() Volt function doesn't work properly in case of a placeholder parameter #1723
Comments
This was referenced Dec 20, 2013
Fixed in 1.2.5 |
In version 2.0 is happening the same thing. |
@denners777 This is fixed in 2.0.1 |
I just upgraded from version 2.0.0 to 2.0.1 and continues accusing error. I'm using dll version. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Since there is a problem with the Tag::emailField. I'm a Volt template there is a simple login form using the helpers email_field and password_field.
In the compiled template version you can see clearly that the password_field tag is properly converted, instead the email_field is not. I'm using the 1.2.4 version, I have checked the C code of tag.c and I can't see any difference between the email and the password tags, but the generated PHP is different. I think the problem is located in the Volt engine code. The email_field produces an invalid syntax and the template doesn't work. See below:
The only way it works is using a different syntax for email_field, putting the parameters between brackets, like follows:
The text was updated successfully, but these errors were encountered: