- Issue created by @masood ahmad
- 🇮🇳India sourabhjain
@Masood.Ahmad In Drupal 10 we have telephone number not the phone number. Could you please mention the Drupal version also?
- 🇵🇰Pakistan masood ahmad
@sourabhjain yeah I am using Drupal 10.1.7. There are fields for telephone number and phone number as well, but we need phone number as it has a dropdown for country codes.
- 🇵🇰Pakistan masood ahmad
@cilefen I have already provided the source of the webform, which is the .yml format. Can you please explain a little what you specifically need?
- 🇮🇳India ravi kant Jaipur
I try to regenerate issue but i am getting wrapper class in drupal 10.
@Masood.Ahmad Are you using https://www.drupal.org/project/mobile_number → module? - 🇮🇳India sourabhjain
@masood are you using any other contributed module for the telephone number?
- 🇮🇳India Tirupati_Singh
Hi @Masood.Ahmad, I've tried reproducing the issue but I'm getting the wrapper css class on the telephone element.
- 🇵🇰Pakistan masood ahmad
@ravi kant, no I am not using Mobile Number. I am using a simple webform that is using the field of phone_number.
- 🇵🇰Pakistan masood ahmad
@sourabhijain and @Tirupati_Singh, when you add custom class to the wrapper - does it show there in the markup?
- 🇮🇳India Tirupati_Singh
@Masood.Ahmad, yes the custom wrapper class is shown in the markup. I'm attaching screenshots for your reference.
- Status changed to Postponed: needs info
12 months ago 11:37am 26 December 2023 - Status changed to Active
12 months ago 9:38am 3 January 2024 - 🇮🇳India ravi kant Jaipur
@Masood.Ahmad
When i have imported webform.webform.brochure_download.yml then i did not get mobile number field so the issue may be due to type phone_number is not supporting now. - Status changed to Closed: cannot reproduce
8 months ago 5:00pm 8 April 2024 - 🇺🇸United States jrockowitz Brooklyn, NY
The
'#type: phone_number
was never supported. The #type can onlytel
orwebform_telephone
.The attached webform show that the custom class are being applied to the
tel
input and the custom classes are being added to thewebform_telephone
wrapper.I can't reproduce this issue.