I have an entity field that is passed to twig view, It is rendered and works fine.
Is it possible to get the <option>
values of that field and render them somewhere else ( I need another select with the same values of that entity field >.
say this is my entity field
{{ form_widget(entity_field) }}
I want something like this
<select id="just_another_select">
{% for value in entity_field.values %} <- how to get entity_field.values
<option > value </option>
{% endfor %}