Closed alanski66 closed 2 years ago
field_id being null is the default behavior, the field_id gets generated on the fly the first time you access it. calling $field->getFieldId()
should retrieve it correctly
But in twig? :)
in twig templates you should be able to do field.fieldId()
when inside the loop for field in form.fields
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
I see from this issue that field id is meant to be available in the templates. If i dump it out its always null
Is it available to twig?