-
Notifications
You must be signed in to change notification settings - Fork 44
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
Tel input type not taken into account in twig #153
Comments
Can you publish a reproduce pls ? That way it will be quicker for me to see what's wrong. |
Hello, here it is Expected BehaviorWhen I use the Current BehaviorThe Steps to Reproduce
Render it in Twig When I look at the
which seems fine to me. It seems that the Thank you. |
Hello, any news on this ? |
Thank you very much for your issue. And you're right! It could be better. Not that easy though. We need to:
You can make a PR for this change if you want. |
Can you throw more light on these following points? I just sent a PR maybe I can update it.
|
According to the latest available Could you provide more details regarding versions you're using? Maybe a reproducer project with minimal dependencies? |
hi @odolbeau May be the problem is that the form type is TextType and not TelType ? @see https://github.com/odolbeau/phone-number-bundle/blob/master/src/Form/Type/PhoneNumberType.php#L111 |
@mrcmorales You're right, I was looking for the |
Hello,
I don't know if this issue relates to Symfony or to the bundle.
When I use
the input rendered by twig is an
input type="text"
instead ofinput type="tel"
Do you know how to fix this, did I miss something ?
Thank you
The text was updated successfully, but these errors were encountered: