PhoneNumberField
A field to get a phone number.
The PhoneNumberField is used to get user input in a text field. It shares
many features of the TextField component, so refer to its
documentation.
This field has two interactive fields: a dropdown for country selection and a
text field for phone number.
Called when the field's value is changed by the user.
Aligns the text horizontally.
Indicates the field is required.
Action to perform when a key is pressed.
Error message to display when the field was checked by external validator. Overrides default error message. KeyboardEventHandler<HTMLInputElement>
Action to perform when the field is blurred. FocusEventHandler<HTMLInputElement>
Adds a label to the field.
Tooltip shown next to the label.
Adds a secondary label to the field.
Note shown below the field.
Displays an error message under the field.
An object with the data keys and values.