Custom user fields dropdown have no "please choose" option


(Michael - DiscourseHosting.com) #1

Might be classified as a bug, might be classified as a feature, I don’t know. I have chosen to classify it as a bug because the system doesn’t behave as expected :slightly_smiling:

If you add a custom user field dropdown and make it required upon signup, people are able to just leave the field at the first option, and continue (so 50% of the users seem to be from Afghanistan for example)

So in effect, they’re not actually required.

It would be better if people were forced to actually choose a value from the dropdown. I think this can be accomplished the best by inserting a “-- please choose --” entry at the top.


(Jeff Atwood) #2

Sure seems like a good idea to me, at the very least have blank (no choice) be the default cc @eviltrout


(Robin Ward) #3

I accepted a PR that fixes this:


(Robin Ward) #4