Add setting to display flag or country code in the Country field

Created on 23 November 2023, 7 months ago
Updated 1 April 2024, 3 months ago

The Phone Number (field) Drupal module has been incredibly useful in our projects, and we believe that the introduction of a new configuration setting would enhance its functionality and user experience.

Feature Request:
The requested feature involves the addition of a configuration setting that allows users to choose whether to display the flag alongside the country code in [specific context or page]. This option would provide greater flexibility for users who have varying preferences for the presentation of the flags within the module.

Details:

Name: Display Or Hide Flag with Country Code
Description: Introduce a configuration setting that allows administrators to choose whether to display the flag along with the country code in phone_number field in the webform.
Default Setting: Display both flag and country code.
Possible Values:
Display both flag and country code.
Display only the flag.
Display only the country code.
Benefits:
Customization: Users can tailor the display to meet their specific design and usability requirements.
User Experience: Provides a cleaner interface for users who may find the display of country codes unnecessary in certain contexts.
Internationalization: Supports users in diverse regions by allowing them to choose the level of detail in flag representation.
Implementation Suggestions:

Integrate the new configuration setting into the module's administrative interface.
Ensure backward compatibility with existing configurations.
Document the new setting in the module's documentation to guide administrators.

Please let us know if you require any further information or clarification on this request. We look forward to the possibility of seeing this feature in future releases.

Feature request
Status

Fixed

Version

2.0

Component

User interface

Created by

🇮🇳India nikhil_dawar

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

Merge Requests

Comments & Activities

Production build 0.69.0 2024