Skip to content
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

Make phone number input type="tel" #294

Merged
merged 1 commit into from
Jun 6, 2023

Conversation

thijskh
Copy link
Member

@thijskh thijskh commented Jun 6, 2023

This presents the correct keyboard on mobile.

This presents the correct keyboard on mobile.
@phavekes phavekes requested a review from MKodde June 6, 2023 13:21
@@ -39,7 +39,7 @@ public function buildForm(FormBuilderInterface $builder, array $options)
'preferred_choices' =>
['Surfnet\StepupBundle\Value\PhoneNumber\CountryCodeListing', 'isPreferredChoice'],
])
->add('subscriber', TextType::class, [
->add('subscriber', TelType::class, [
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

TIL: TelType 👍

@MKodde
Copy link
Member

MKodde commented Jun 6, 2023

Nice micro optimization, thanks @thijskh

@MKodde MKodde merged commit b365e84 into develop Jun 6, 2023
1 of 2 checks passed
@MKodde MKodde deleted the feature/phone-number-use-teltype branch June 6, 2023 13:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants