Support

Account

Home Forums Backend Issues (wp-admin) Opt group in select field works, but only returns value but no label Reply To: Opt group in select field works, but only returns value but no label

  • Hi @balint

    Please keep in mind that get_field() function won’t load the field object, so the acf/load_field hook won’t be working. In this case, kindly use the get_field_object() function instead. This page should give you more idea about it (under the Display value and label section): https://www.advancedcustomfields.com/resources/select/.

    I hope this helps 🙂