Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
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 -'.
Comment | File | Size | Author |
---|---|---|---|
#1 | D7-processSelect-Empty-Label-Documentation-2462835-1.patch | 894 bytes | Dom. |
Comments
Comment #1
Dom. CreditAttribution: Dom. commentedAdding patch to be reviewed.
Comment #2
David_Rothstein CreditAttribution: David_Rothstein commentedClosing as a duplicate - this can be backported in the original issue once that one gets committed to Drupal 8.