Skip to content

Member custom fields- select fieldtype label output broken - shows value instead of label #4147

Closed

Description

@robinsowell

User ran into it upgrading from EE 7.3.x to EE 7.4.4. Make a custom member field- make it a select with label/value. Mine is

Label -- Value

Value 1 -- val1
Value 2 -- val2
Value 3 -- val3

I select 'Value 2' for my profile- go view in a template:

{exp:member:custom_profile_data}
{m_select:label} = {m_select:value} = {m_select}
{/exp:member:custom_profile_data}

Output is:

val2 = val2 = val2

Should be:

Value 2 = val2 = and really not sure what the default for the single tag should be- same as regular select tag.

Per docs: Tip: Checkboxes, Multiselect and Selectable Buttons all default to showing the label. Radio Buttons and Selects default to showing the value.

So a regular select, {m_select} should show the value, so that one's correct. It's just the label jamming. UNLESS the old member select field worked differently, which is not impossible.

Activity

  1. added
    Bug: AcceptedBug has been confirmed, is reproducible, and ready to work on.
    on Mar 15, 2024
  2. added a commit that references this issue on Mar 18, 2024
    952610c
  3. added a commit that references this issue on Mar 18, 2024
    6c677cf
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Bug: AcceptedBug has been confirmed, is reproducible, and ready to work on.

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions