[buddypress-trac] [BuddyPress] #3698: Required Profile Fields in BP 1.5+ no longer give an option for a null value in the drop down, but become pre filled with the first option.
buddypress-trac
noreply at wordpress.org
Sun Nov 24 16:01:12 UTC 2013
#3698: Required Profile Fields in BP 1.5+ no longer give an option for a null
value in the drop down, but become pre filled with the first option.
-------------------------+-------------------------
Reporter: rossagrant | Owner: Ross Grant
Type: enhancement | Status: closed
Priority: normal | Milestone: 1.6
Component: Core | Version: 1.5
Severity: minor | Resolution: fixed
Keywords: needs-patch |
-------------------------+-------------------------
Comment (by djpaul):
In [changeset:"7599"]:
{{{
#!CommitTicketReference repository="" revision="7599"
XProfile: Show the placeholder text for all select box profile fields.
Prior to BP 1.5, the "----" placeholder item for select boxes was shown
for both optional and mandatory fields. In BP 1.5 in r4831, the behaviour
was changed to only show the placeholder item for optional profile fields.
With retrospect, that change didn’t make much sense.
This commits restores the original behaviour, showing the placeholder text
for all select box profile fields. A user should be forced to pick an
option for a required profile field, and not allow the web browser to
automatically select the first option in the <select> element.
See #3378, #3698, and #5184. Props haykayltduk, hnla, DJPaul at WordCamp
London contributor day!
}}}
--
Ticket URL: <https://buddypress.trac.wordpress.org/ticket/3698#comment:4>
BuddyPress <http://buddypress.org/>
BuddyPress
More information about the buddypress-trac
mailing list