Drupal Association members fund grants that make connections all over the world.
I'm not sure if this is a bug or if I'm doing something wrong here. If you manually enter the options, the following applies:
"Enter one value per line, in the format key|label."
This does not seem to apply when choosing PHP Code to return an array. If I return my values in the form of key|label in an array it will print just that in the dropdown. I tried filling the array with $option[key] and $option[label]s but that doesn't work either.
So in short: is it possible to define a label and key when using PHP Code, and if not: was this intended or is it a bug?