Phone Input combines a searchable country field and a telephone input. The value keeps the original text and includes an E.164 number when the text can be normalized.
Entered phone value and its normalized result, or null for an empty field.
Outputs
Listen to an event with (event)="handler($event)". The table explains the data your handler receives and how to use it.
Name
Payload
Template binding
Description
touch
void
(touch)="onTouch($event)"
Emits after focus leaves the composite control.
Templates
ng-content projects content into the component. TemplateRef inputs receive a template; ng-template directives identify templates with a typed context. A directive shared by an entrypoint is not necessarily a slot of this component.
This component does not expose content projection or public customization templates.
Public Types
Open a type to inspect its definition and interface fields.
NeuPhoneInputValue.d.ts
import type { NeuPhoneRegion } from '@neural-ui/core/phone-input';
import type { NeuPhoneInputValue } from '@neural-ui/core/phone-input';
// Public declaration (reference only)
export interface NeuPhoneInputValue {
readonly e164: string | null;
readonly raw: string;
readonly region: NeuPhoneRegion;
}
NeuPhoneRegion.d.ts
import type { NeuPhoneRegion } from '@neural-ui/core/phone-input';
// Public declaration (reference only)
export type NeuPhoneRegion = CountryCode;