summaryrefslogtreecommitdiffstats
path: root/src/models
diff options
context:
space:
mode:
authorJohn Molakvoæ <skjnldsv@users.noreply.github.com>2019-01-11 09:34:21 +0100
committerGitHub <noreply@github.com>2019-01-11 09:34:21 +0100
commit431b7921add28c7338785296ca025cfcf6e3c3e0 (patch)
treeed7ccb3a749b730db2050418c8b4812f1be61c9a /src/models
parentca15bd09e5c700b26f3020555ccf5a26bd26291e (diff)
Revert "fix gender field select"
Diffstat (limited to 'src/models')
-rw-r--r--src/models/rfcProps.js15
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') }