Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Directory Page Displays Dropdown Field stored value instead of lable #160

Open
JarrydLong opened this issue Apr 30, 2024 · 1 comment
Open

Comments

@JarrydLong
Copy link
Collaborator

The directory shortcode currently displays the field value that is stored instead of the label, when displaying dropdown user fields for a profile.

The single profile shows the dropdown value's label instead which is preferred.

@mattilove
Copy link

Any suggestions? This only seems to happen when field type is set to checkbox_grouped.

$fields[] = new PMProRH_Field(
'arbetar', // input field name, used as meta key
'checkbox_grouped', // field type
array(
'label' => 'Doular i följande län', // display custom label, if not used field name will be used
'options' => array( // elements for select field
'blekinges_lan' => 'Blekinges län',
.......

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants