How to retrieve value of hidden field in twig?
I am able to retrieve value of "Partition Count" field when not disabled. But not able to retrieve it's value when disabled.
Exact requirement: 1) If "Partition Count" field is Disabled from Drupal Admin, then field should not be displayed. But this value needs to be retrieved in twig file as display of "Reference Paragraph" will vary according to the value of "Partition Count".
2) If "Partition Count" field is Enabled from Drupal Admin, then field should be displayed. In this case, I am able to retrieve "Partition Count" field value in twig file.
paragraph.html.twig:: https://github.com/WondrousLLC/paragraphs_starter_pack/blob/master/template/paragraph/paragraph.html.twig
{{ node.field_partition_count.value }}
Manage Form Display
orManage Display
?{{ paragraph.field_partition_count.value }}