Input Phone
International phone input with a searchable country selector. Auto-formats the number for the chosen country and emits a parsed E.164 string.
Default
Country selector + formatted number input.
With label
Pair with a Label for a complete form field.
Required
Pass required to mark the inner input required.
API Reference
Props, events, and slots for each sub-component.
InputPhone
Props
| Prop | Type | Default | Description |
|---|---|---|---|
| modelValue | string | "" | E.164-formatted phone string. Supports v-model. |
| required | boolean | false | Mark the inner input required. |
Events
| Event | Description |
|---|---|
| update:modelValue | Fires with the parsed phone string. Enables v-model. |