diff options
Diffstat (limited to 'src/models/rfcProps.js')
-rw-r--r-- | src/models/rfcProps.js | 15 |
1 files changed, 8 insertions, 7 deletions
diff --git a/src/models/rfcProps.js b/src/models/rfcProps.js index 397d66f1..122736f2 100644 --- a/src/models/rfcProps.js +++ b/src/models/rfcProps.js @@ -56,6 +56,7 @@ const properties = { readableName: t('contacts', 'Federated Cloud ID'), force: 'text', defaultValue: { + value: [''], type: ['HOME'] }, options: [ @@ -117,6 +118,7 @@ const properties = { icon: 'icon-mail', default: true, defaultValue: { + value: '', type: ['HOME'] }, options: [ @@ -130,6 +132,7 @@ const properties = { readableName: t('contacts', 'Instant messaging'), icon: 'icon-comment', defaultValue: { + value: [''], type: ['SKYPE'] }, options: [ @@ -146,6 +149,7 @@ const properties = { icon: 'icon-phone', default: true, defaultValue: { + value: '', type: ['HOME', 'VOICE'] }, options: [ @@ -172,7 +176,8 @@ const properties = { icon: 'icon-social', readableName: t('contacts', 'Social network'), defaultValue: { - type: ['FACEBOOK'] + value: '', + type: ['facebook'] }, info: t( 'contacts', @@ -203,9 +208,6 @@ const properties = { 'contacts', 'Specify a relationship between you and the entity represented by this vCard.' ), - defaultValue: { - type: ['COLLEAGUE'] - }, options: [ { id: 'SPOUSE', name: t('contacts', 'Spouse') }, { id: 'CHILD', name: t('contacts', 'Child') }, @@ -230,6 +232,7 @@ const properties = { 'Specify a relationship between another entity and the entity represented by this vCard.' ), defaultValue: { + value: [''], type: ['CONTACT'] }, options: [ @@ -253,13 +256,11 @@ const properties = { }, gender: { readableName: t('contacts', 'Gender'), - force: 'select', defaultValue: { // default to Female 🙋 - type: ['F'] + value: ['F'] }, options: [ - // TODO? make X-WAB-GENDER print in VCARD as well for MS compatibility { id: 'F', name: t('contacts', 'Female') }, { id: 'M', name: t('contacts', 'Male') }, { id: 'O', name: t('contacts', 'Other') } |