You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
A clear and concise description of what the bug is.
To Reproduce
Steps to reproduce the behavior:
This is the address object that was created:
const addr : Address = {
label: 'Work'
street: this.addUserForm. value.street,
postalCode: this.addUserForm. value. ponum,
locality: this.addUserForm. value. state,
countryName: this .addUserForm. value. country
};
This is string of the card generated using the vCardFormatter.getVCardAsString() method
BEGIN:VCARD
VERSION:3
FN;CHARSET=utf-8:test N;CHARSET=utf-8.;test.;.
ORG;CHARSET=utf-8:ABC Co. ltd
ADR;LABEL-"Work".,;The building, 5th
Floor, PO Box 2345;Sample,;;Sample
TEL;TYPE-Cell:444 TEL;TYPE-Work:
EMAIL;TYPE=Work:[email protected] TITLE;CHARSET-utf-8:test URL:www.abc.com
NOTE;CHARSET=utf-8:Some note
END;VCARD
On converting this to a contact card:
Note the label of the address field which should've come as "Work" but this is displayed as "LABEL"
If I explicitly add the character encoding to the address field, then we see this as "CHARSET".
Expected behavior
The label value or type value given while creating the card class should be displayed as label in the generated vcard.
Screenshots
If applicable, add screenshots to help explain your problem.
Smartphone (please complete the following information):
Device: iPhone14 pro
OS: iOS 16.5
Additional context
Add any other context about the problem here.
The text was updated successfully, but these errors were encountered:
Describe the bug
A clear and concise description of what the bug is.
To Reproduce
Steps to reproduce the behavior:
This is the address object that was created:
const addr : Address = {
label: 'Work'
street: this.addUserForm. value.street,
postalCode: this.addUserForm. value. ponum,
locality: this.addUserForm. value. state,
countryName: this .addUserForm. value. country
};
This is string of the card generated using the vCardFormatter.getVCardAsString() method
BEGIN:VCARD
VERSION:3
FN;CHARSET=utf-8:test N;CHARSET=utf-8.;test.;.
ORG;CHARSET=utf-8:ABC Co. ltd
ADR;LABEL-"Work".,;The building, 5th
Floor, PO Box 2345;Sample,;;Sample
TEL;TYPE-Cell:444 TEL;TYPE-Work:
EMAIL;TYPE=Work:[email protected] TITLE;CHARSET-utf-8:test URL:www.abc.com
NOTE;CHARSET=utf-8:Some note
END;VCARD
On converting this to a contact card:
![WhatsApp Image 2023-06-15 at 7 29 31 PM](https://private-user-images.githubusercontent.com/16351269/246177940-829c2eee-fd5b-4388-a1fa-02a4d723fc77.jpeg?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3Mzk3OTk3ODYsIm5iZiI6MTczOTc5OTQ4NiwicGF0aCI6Ii8xNjM1MTI2OS8yNDYxNzc5NDAtODI5YzJlZWUtZmQ1Yi00Mzg4LWExZmEtMDJhNGQ3MjNmYzc3LmpwZWc_WC1BbXotQWxnb3JpdGhtPUFXUzQtSE1BQy1TSEEyNTYmWC1BbXotQ3JlZGVudGlhbD1BS0lBVkNPRFlMU0E1M1BRSzRaQSUyRjIwMjUwMjE3JTJGdXMtZWFzdC0xJTJGczMlMkZhd3M0X3JlcXVlc3QmWC1BbXotRGF0ZT0yMDI1MDIxN1QxMzM4MDZaJlgtQW16LUV4cGlyZXM9MzAwJlgtQW16LVNpZ25hdHVyZT04ZDQzMGYyZDZiNzE2NDA1YjRiZGFmZTkxZDNhM2M3ZTY0YjdlMTk1MjZhYmI5NjEyZjc5MjczMDJiMmZmMDM5JlgtQW16LVNpZ25lZEhlYWRlcnM9aG9zdCJ9.Vr-xQzykcz6A8eKbO7tSOag0f9OAo_BeBRTgTVZ-dtg)
Note the label of the address field which should've come as "Work" but this is displayed as "LABEL"
If I explicitly add the character encoding to the address field, then we see this as "CHARSET".
Expected behavior
The label value or type value given while creating the card class should be displayed as label in the generated vcard.
Screenshots
If applicable, add screenshots to help explain your problem.
Smartphone (please complete the following information):
Additional context
Add any other context about the problem here.
The text was updated successfully, but these errors were encountered: