Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Make salutation gender neutral #342

Merged

Conversation

luca-rath
Copy link
Contributor

Q A
Bug fix? no
New feature? yes
BC breaks? no
Deprecations? no
Fixed tickets fixes #issuenum
Related issues/PRs #issuenum
License MIT

What's in this PR?

Add Other option to salutation field and add Please choose placeholder instead of automatically select Mr..

Why?

To make salutation gender neutral.

'sulu_form.salutation_ms' => 'ms',
'sulu_form.salutation_mr' => 'mr',
'sulu_form.salutation_other' => 'other',
Copy link
Member

@alexander-schranz alexander-schranz Dec 20, 2022

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think this is not the correct way of handling this. As a Salutation is never gender neutral. The salutation is used in Letters and something like Hello Other Alexander Schranz, is I think not the expected result.

The correct way for me would be here make sure that there is no default and no Please choose, something like No salutation or No choice / Keine auswahl should be the default value of the form, with an empty value.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Did just now see this is the FormBundle this salutations represent Salutation of ContactBundle and so this need to be changed there first.

@alexander-schranz alexander-schranz merged commit 9cbb460 into sulu:2.5 Dec 21, 2022
@luca-rath luca-rath deleted the bugfix/gender-neutral-salutation branch December 21, 2022 11:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants