How to add country code picker to the phone number input?

Hi, how do I change this input to have a country code picker, because not everyone will be from USA.

Example:

The phone number they input must be the correct length for their selected country. I see we have a “Phone number” input but doesn’t seem to be any different from the “integer” field?

Hey,
the phone input is indeed just an implementation of the native type “phone” input. Its mainly for displaying the correct keyboard on mobile phone, but does not do any validation