I want to create a sort of contextual help for creating and editing content. The user shall see specific help and good real world examples using a view showing content of the respective criteria.
To get the criteria I made a view containing a custom text field. In this I check for the content type by using twigs If logic comparing paths. If a path matches the criteria I call the view providing the help by using twig tweaks drupal_view function:
{% if criterion in path %}
drupal_view(helpview, block, criterion)
{% endif %}
This works fine but if I have an exposed filter in the block. And from this filter only text containing elements are displayed. All form related tags like the form tag and all the input tags are not there.
When I try to create a form in the custom text field and all the form tags are disappearing too. So my question is: Are form tags stripped from custom text field? If yes I assume security issues. And is there a way to allow them?