summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJohn Molakvoæ <skjnldsv@users.noreply.github.com>2019-01-11 12:32:59 +0100
committerGitHub <noreply@github.com>2019-01-11 12:32:59 +0100
commit9ce5ae72066b908e73721667cb4ebeccd2851e96 (patch)
treeed7ccb3a749b730db2050418c8b4812f1be61c9a
parente1d30de594ba8e5011eb8bb3a79874b5afd65121 (diff)
parent9c4eee6c457efe7bf9e69a95aa0e0e001f802a7b (diff)
Merge pull request #849 from nextcloud/revert-847-gender
Revert "fix gender field select"
-rw-r--r--src/models/rfcProps.js9
1 files changed, 6 insertions, 3 deletions
diff --git a/src/models/rfcProps.js b/src/models/rfcProps.js
index 937391f5..122736f2 100644
--- a/src/models/rfcProps.js
+++ b/src/models/rfcProps.js
@@ -256,10 +256,13 @@ const properties = {
},
gender: {
readableName: t('contacts', 'Gender'),
- force: 'select',
+ defaultValue: {
+ // default to Female 🙋
+ value: ['F']
+ },
options: [
- { id: 'F', name: t('contacts', 'Female'), xadd: 'X-WAB-GENDER:1' }, // Female first 🙋, TODO: make X-WAB-GENDER print in VCARD as well for MS compatibility
- { id: 'M', name: t('contacts', 'Male'), xadd: 'X-WAB-GENDER:2' }, // 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') }
]
}