Closed ghollingworthh closed 3 months ago
CI is running/has finished running commands for commit 1e0e0037102a43584fe92fdfa4e9edf4fd5e5547. As they complete they will appear below. Click to see the status, the terminal output, and the build insights.
π See all runs for this CI Pipeline Execution
Sent with π from NxCloud.
Thank you for your contribution and fixing this issue. I have been testing the changes and everything seems working fine.
Showing the country name on hover is a really nice addition. No need to be configurable for now.
Everything will be available in tomorrow's release 18.2.0.
Your efforts are much appreciated!
Why: When the phone number control value is set programatically, eg. when a record is read and the control is populated with the phone number so that it can be edited, the area codes were NOT taken into consideration when attempting to determine the country code.
For example, when I programmatically set the value of the control with a US phone number, eg. +19781234567 the country returned was American Samoa (+1 684).
Why: To ensure that the highest priority country is associated with any country code that is utilized by multiple countries, eg. +39 is shared by Italy and Vatican City. I'm not sure how to can figure out which country was used when the phone number was created. The phone numbers, eg. +39 312 345 6789 do NOT contain any 'priority' info.
Why: The country name could be useful to user unfamiliar with the selected flag and the hover tooltip is the quickest and easiest way to provide that information.
These changes would go a long way to help me adopt using the component I my project. While I have tinkered with the code, and offered some basic solutions, please don't hestitate to make different, better changes (perhaps make the tooltip configurable) yourself that might support the needs described above.
I added an input field to the test application for testing that programmatically setting the component value returns the correct country code based on country and area code.
Please let me know if you have any questions or concerns.