The default "gender" list consists of "Male", "Female", and "Transgender". People who would not choose "Male" or "Female" would not necessarily want to choose "Transgender". Instead, I suggest that the defaults use allow the "other" option for maximum flexibility.
| Comment | File | Size | Author |
|---|---|---|---|
| #4 | interdiff-3010129-2-4.txt | 2.86 KB | jrockowitz |
| #4 | webform-gender_other-3010129-4-D8.patch | 4.36 KB | jrockowitz |
| #2 | webform-gender_other-3010129-2-D8.patch | 4.3 KB | liam morland |
Comments
Comment #2
liam morlandComment #3
jrockowitz commentedThe
'#type': radios_otherneeds to be changed to'#type': webform_radios_other.When you edit the 'Elements' source via the UI the webform_* prefix is removed from the #type and then added back when the 'Elements' are saved.
@see #2848042: Rework #type shorthand prefix handling
Comment #4
jrockowitz commentedComment #6
jrockowitz commented@Liam Morland Thanks for the suggestion and the patch.
Comment #7
kpaxman commentedIt may be worthwhile to look at how the Gender Field module handles this.