Field widget with international dialing code plus national number

Created on 4 July 2024, 6 months ago

Drupal modules utilizing the jackocnr/intl-tel-input JavaScript library commonly suffer from poor user experience (UX) because the country code is automatically added to the input field. This requires the user to manually append the national number afterward. Additionally, users can inadvertently alter the country code after it has been added via JavaScript, further increasing the confusion.

A more effective approach would be to split the input widget into two separate fields, as demonstrated in this example:

Feature request
Status

Active

Version

1.0

Component

Code

Created by

🇵🇹Portugal introfini

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

  • Issue created by @introfini
  • Status changed to Closed: works as designed 6 months ago
  • 🇧🇪Belgium matthijs

    This module doesn't use jackocnr/intl-tel-input I think you use another module that implements jackocnr/intl-tel-input.

  • Status changed to Active 6 months ago
  • 🇵🇹Portugal introfini

    I mentioned that other modules face this issue. Since this module does not use tjackocnr/intl-tel-input, it can freely implement a widget based on my suggestion. What are your thoughts on this?

Production build 0.71.5 2024