field_value prints twig debug info

Created on 28 April 2023, over 1 year ago
Updated 28 December 2023, 12 months ago

Problem/Motivation

If used while theming "field_vlaue" prints out the theming debug info of twig templating system, if the field is an URL then the link will be broken, there should be a way to remove the debugging info.

Feature request
Status

Active

Version

2.0

Component

Code

Created by

🇪🇸Spain cimo75

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

  • Issue created by @cimo75
  • 🇮🇳India sumit-k

    Tried to replicate the issue with the mentioned details but didn't get it. I would appreciate it if you could provide the steps to reproduce to reproduce the issue.

  • 🇮🇳India ravi kant Jaipur

    @cimo75
    I have tried by adding link field but not getting any broken issue.
    Steps :-
    1. Enabled Debug
    2. Added link filed and applied field_value filter
    3. Cleared cache

    {{ content.field_link|field_value }}
    
Production build 0.71.5 2024