Hi,

I just created a new field of type "link". When I open "Manage Display" for this field I choose Format: "link". Now I also marked "Url only" and "Show URL as plain text".

With debug mode enable it still prints out all the debug information in my template when I use {{content.field_mylinkfield}}

THEME DEBUG --><-- THEME HOOK: 'field' --><-- FILE NAME SUGGESTIONS: * field--node--field-xxx--xxx.html.twig * field--node--field-xxx.html.twig * field--node--xxx.html.twig * field--field-xxx.html.twig * field--link.html.twig x field.html.twig--><-- BEGIN OUTPUT from 'themes/custom/XXX/templates/field/field.html.twig' -->/node/xxx<-- END OUTPUT from 'themes/custom/XXX/templates/field/field.html.twig'

I think this is wrong, right? Especially with the Option "Show URL as plain text"

CommentFileSizeAuthor
bug.PNG10.65 KBmo86

Comments

mo86 created an issue. See original summary.

mo86’s picture

Issue summary: View changes
swentel’s picture

Component: field system » link.module
Issue tags: -field, -link, -url, -debug output
mac_weber’s picture

Status: Active » Closed (outdated)

I could not reproduce, then I think this issue is outdated.