jsfprimefacesprimefaces-extensions

InputPhone from PrimeFaces Extensions 13.0.15 missing country prefix


I'm encountering a bug with the InputPhone component from PrimeFaces Extensions, specifically in version 13.0.15.

You can easily reproduce the issue using the official PrimeFaces Extensions Showcase, but make sure to test against version 13.0.15. You can download the corresponding WAR file from their GitHub releases page to verify.

In version 13.0.15, the input does not include the expected country prefix (e.g., (+1) for the US). The result is just the local phone number.

Behavior in version 13.0.15

The phone input should display the full international format, including the country code. In the most recent version, the input field correctly includes the prefix.

Behavior latest version

I am unable to upgrade PrimeFaces or PrimeFaces Extensions at the moment due to project constraints.

Is there a known workaround or configuration tweak that can restore the prefix display behavior in version 13.0.15?


Solution

  • Its a bug i have to backport the latest InputPhone code to PF 13.

    See PR: https://github.com/primefaces-extensions/primefaces-extensions/pull/1915

    Edit: Released in PFE 13.0.16