Quantcast
Channel: Issues for Drupal core
Viewing all articles
Browse latest Browse all 291195

Field description doesn't render on datetime field

$
0
0

As seen in the attached screenshot, showing a node's "authored on" field, the field description is not rendering for the new datetime field.

Screenshot_2_18_13_5_55_PM.png

Here is the code from NodeFormController.php, which plainly includes description text:

    $form['author']['date'] = array(
      '#type' => 'datetime',
      '#title' => t('Authored on'),
      '#description' => t('Format: %format. Leave blank to use the time of form submission.', array('%format' => datetime_format_example($format))),
      '#default_value' => !empty($node->date) ? $node->date : '',
    );
AttachmentSizeStatusTest resultOperations
Screenshot_2_18_13_5_55_PM.png13.03 KBIgnored: Check issue status.NoneNone

Viewing all articles
Browse latest Browse all 291195

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>