diff options
author | hirschrobert <info@robert-hirsch.de> | 2019-01-11 12:29:27 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-01-11 12:29:27 +0100 |
commit | 9c4eee6c457efe7bf9e69a95aa0e0e001f802a7b (patch) | |
tree | ed7ccb3a749b730db2050418c8b4812f1be61c9a | |
parent | e1d30de594ba8e5011eb8bb3a79874b5afd65121 (diff) |
Revert "fix gender field select"
-rw-r--r-- | src/models/rfcProps.js | 9 |
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') } ] } |