I'm using the Paragraphs module to create components, i then make a content type and add the Paragraph as a reference field.
The form of the Paragraph has a field (a list) where a content creator can select a color name for a background color for the div. Each Paragraph has 3 values (pacific_blue, smokey_white, white).
However, i'm trying to get the selected value without displaying it on the site.
As long as the field is not disabled i can get the value using this code and add the class to style the div with the right background color:
<div class="c14a {{ content.group_wrap.field_color_backgroud.0["#markup"] }}">
<div{{ attributes.addClass(classes) }}>
{{ content }}
</div>
</div>
So how do i get the value of a field that is disabled in 'manage display'?
Thx...