Extras
PhoneInput
BitPhoneInput pairs a searchable country selector - flag, name and dialing code - with a tel input. Value always holds the full number in E.164 form (+[code][number]), while the local digits and the country stay bindable on their own through Number and Country. A typed or pasted international prefix picks its country, the digits can be laid out over a per-country pattern, and the whole field is keyboard and screen-reader operable.
Input & value
The clear button, Strict and MaxLength, the full-width, borderless and underlined looks, immediate updates, binding the value, number and country, and formatting the digits as they are typed.
Clear button
Strict & MaxLength
Variants
Immediate
Binding
0170 1234567) is dropped from Value, keeping it
valid E.164, unless KeepNationalPrefix is set. The text field below is bound to the same Value.
Format as you type
# is a digit slot -
(###) ###-#### shows 4155550123 as (415) 555-0123 - while the Value stays plain E.164 and the
caret keeps its place. MaskSelector gives each country its own pattern (null leaves it unformatted),
and AutoPlaceholder shows that pattern as the placeholder.
Feedback
Found a mistake, a gap, or something that could be clearer? Every page and every component is one click from its source.