PhoneInput

PhoneInputs are used to enter international phone numbers - country codes are mandatory. For non-international numbers, please see our TextInput component.

Features: Entered information will automatically be formatted according to the country code. Currently, area codes are only formatted for Austria, France, Germany, Italy, Portugal, Switzerland, and the United States.

Example

+

Usage

NameTypeDescription
requiredboolIndicates that this field is required
name (required)stringThe name of this input field
onChangefuncCalled, when the users changes something
defaultValuestringPrefilled default value (optional)
placeholderstringValue of placeholder