Support

Search results for ""

Sorry, no results found. Perhaps you would like to search the documentation?
All Topics
Tectonic70

Return the label, not the value, of an ACF radio button

Greetings all!

I’m trying to use a radio button setup as a sub-field with choices entered in a value / label format (ex. 1 : Tower, 2 : Lattice).

When I tried to add the sub-field as a column in Admin Columns and I can’t seem to be able to display the label just the value (ex. Admin Columns displays “1” rather than “Tower”).

How can I get the column to display as a label and not as the value?

5 years, 6 months ago
Stefan van den Dungen Gronovius
Developer

Hi!

Unfortunately, our ACF repeater field is not fully supported. I see what you mean with the radio options and I made a ticket for this to fix that.
https://github.com/codepress/admin-columns-issues/issues/1230

I’m not sure if we come with a specific fix for the radio buttons, or that we will refactor the whole repeater field (along with clone and subfield column), which is also a thing on our roadmap.

As a workaround for now, I only see the manipulate the value yourself by using the following hook:
https://www.admincolumns.com/documentation/filter-reference/ac-column-value/

5 years, 6 months ago

You must be logged in to reply to this topic.