Opened 10 months ago
Closed 10 months ago
#9035 closed defect (bug) (fixed)
[BP 12] On the profile "add new field" screen, the default field type "checkbox" is not initially showing the subsequent options
Reported by: | strategio | Owned by: | imath |
---|---|---|---|
Milestone: | 12.1.0 | Priority: | normal |
Severity: | normal | Version: | 12.0.0 |
Component: | Extended Profile | Keywords: | has-patch |
Cc: |
Description
=> https://www.awesomescreenshot.com/image/44825622?key=af95aa058c6ce32399b495f43917e1c7
We need to change the type to another one (e.g. "radio") and switch back to "checkbox" in order to see the options.
=> https://www.awesomescreenshot.com/image/44825660?key=ac611cf84fe3cecb09d20887a062626a
Change History (7)
This ticket was mentioned in PR #200 on buddypress/buddypress by @imath.
10 months ago
#3
- Keywords has-patch added; needs-patch removed
In r13414 the BP_XProfile_Field::$type
variable default value was set to ''
to prevent deprecation notices. This move generated a side effect on the selected default field of the select box used to define a new xProfile field type. The is_null()
check performed inside bp_xprofile_admin_form_field_types()
needs to be replaced by a check for an empty string.
Trac ticket: https://buddypress.trac.wordpress.org/ticket/9035
I confirm, this is annoying. The default type should be the text input one.
Thanks a lot for your report @strategio