Bladeren bron

Correctif table_filters.html.twig

develop
Guillaume 3 jaren geleden
bovenliggende
commit
18bfd5e63b
1 gewijzigde bestanden met toevoegingen van 6 en 4 verwijderingen
  1. +6
    -4
      Resources/views/adminlte/block/table_filters.html.twig

+ 6
- 4
Resources/views/adminlte/block/table_filters.html.twig Bestand weergeven

@@ -41,10 +41,12 @@
})
.generateUrl() %}

{% if 'TextType' in field.formType or 'IntegerType' in field.formType %}
{{ form_widget(form_field, {'attr': {'autocomplete': 'off', 'data-lc-autocomplete-url' : url}|raw }) }}
{% else %}
{{ form_widget(form_field) }}
{% if not form_field.rendered %}
{% if 'TextType' in field.formType or 'IntegerType' in field.formType %}
{{ form_widget(form_field, {'attr': {'autocomplete': 'off', 'data-lc-autocomplete-url' : url}|raw }) }}
{% else %}
{{ form_widget(form_field) }}
{% endif %}
{% endif %}
</div>
{% endif %}

Laden…
Annuleren
Opslaan