{#
    This field relies on the `select.html.twig` implementation.

    Mautic tries to render `@themes/{{theme}}/html/MauticFormBundle/Field/select.html.twig`
    and falls back to the standard template '@MauticForm/Field/select.html.twig'.

    This eliminates the need to copy twig templates into themes that just rely on one base template file.
#}
{{- include([theme|default('') ~ 'select.html.twig', '@MauticForm/Field/select.html.twig'], {
        'field': field,
        'fields': fields|default([]),
        'mappedFields': mappedFields|default([]),
        'inForm': inForm|default(false),
        'list': leadFieldCountryChoices(),
        'id': id,
        'formId': formId|default(0),
        'formName': formName|default(''),
}) -}}
