Vue Phone Number Input Versions Save

A phone number input made with Vue JS (format & valid phone number)

1.1.9

4 years ago

Changelog

fix

  • Synchronize input & loader color

1.1.8

4 years ago

Changelog

feature

  • Auto-reconize country code and national number from number prefixed

Ex: Init the component withv-model = +33612345678 ---> the component's country selector is set & the update event return

{ 
  countryCode: "FR",
  isValid: true,
  phoneNumber: "612345678",
  countryCallingCode: "33",
  formattedNumber: "+33612345678",
  nationalNumber: "612345678", 
  formatInternational: "+33 6 12 34 56 78",
  formatNational: "06 12 34 56 78", 
  uri: "tel:+33612345678", 
  e164: "+33612345678" 
}

Works when you entering the number and if the country code is null

update

  • Update & support libphonenumber-js dependency to 1.7.51

1.1.7

4 years ago

1.1.6

4 years ago

1.1.5

4 years ago

Thanks @hitesh399

1.1.2

4 years ago

1.1.1

4 years ago

1.1.0

4 years ago

ChangeLog

  • Accessibility improvements (country selector: same behavior as a native select input) #64
  • Colors Management: Use computed style to have more browsers compatibility (>= IE9) #64
  • Virtual Dom on list to improve performance (mobile) #67

1.0.9

4 years ago

Changelog

  • Better UI on focus each element
  • Close/Open methods improvements (Open on Arrow down/up & Enter)
  • New arrow svg on select input

1.0.8

4 years ago

Changelog

  • Add option to change the error color, ex: error-color="red" #59
  • Improvement : Open/close method to show the countries list #60

#61 Release 1.0.8

Merci @antoine92190