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

Views comment form missing when using replacement pattern

$
0
0

Problem/Motivation

The comment form does not display when using the {{ comment }} replacement pattern in a view.

When using the Content: Comments field, it shows the list of comments and the comment form at the bottom. However, when hiding the field and using it in a replacement pattern via {{ comment }} the comment form disappears and only the comment list remain.

I feel like this is a bug because the replacement pattern with no customizations should display the same as the original version of the field.

Steps to reproduce

  1. Create a node and add new comments to the node
  2. Create a view of Content, display fields
  3. Add Content: Comments field (check the comment form is displayed in the view)
  4. Exclude Content: Comments from display
  5. Add Global: Custom Text field, enter in the text field {{ comment }} from the available replacement pattern

Screenshot

view replacement pattern comment form missing


Viewing all articles
Browse latest Browse all 292245

Trending Articles



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