Follow-up to #2428399: Default empty option label text different in documentation : backport to D7.

API page: https://api.drupal.org/api/drupal/includes%21form.inc/function/form_proc...

The page says "#empty_option: (optional) The label to show for the first default option. By default, the label is automatically set to "- Please select -" for a required field..." but in fact the label shown is just '- Select -'.

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

Dom.’s picture

Status: Reviewed & tested by the community » Needs review
FileSize
894 bytes

Adding patch to be reviewed.

David_Rothstein’s picture

Status: Needs review » Closed (duplicate)

Closing as a duplicate - this can be backported in the original issue once that one gets committed to Drupal 8.