-
Notifications
You must be signed in to change notification settings - Fork 157
Open
Description
I am trying example from documentation:
https://www.npmjs.com/package/vcards-js#complete-example but with version 4.
`
var vCard = vCardsJS();
vCard.version = '4'
//set basic properties shown before
vCard.firstName = 'Eric';
vCard.middleName = 'J';
vCard.lastName = 'Nesser';
vCard.uid = '69531f4a-c34d-4a1e-8922-bd38a9476a53';
vCard.organization = 'ACME Corporation';
vCard.workPhone = '312-555-1212';
`
In version 4, the phone output:
TEL;VALUE=uri;TYPE="voice,work":tel:312-555-1212
Which is not showed correctly
When i use version 3, the output is TEL;TYPE=WORK,VOICE:312-555-1212 and it works as expected
Am i doing something wrong or how can i use phone in version 4?
Thanks
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels

