From 9c4eee6c457efe7bf9e69a95aa0e0e001f802a7b Mon Sep 17 00:00:00 2001 From: hirschrobert Date: Fri, 11 Jan 2019 12:29:27 +0100 Subject: Revert "fix gender field select" --- src/models/rfcProps.js | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) (limited to 'src/models') 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') } ] } -- cgit v1.2.3