Refactor type handling to contao-tags and add module tag filters
This commit is contained in:
@@ -32,7 +32,7 @@
|
||||
{{ form_row(form.organization_ids) }}
|
||||
{% endif %}
|
||||
{{ form_row(form.location_id) }}
|
||||
{{ form_row(form.type) }}
|
||||
{{ form_row(form.tags) }}
|
||||
{{ form_row(form.teaser) }}
|
||||
{{ form_row(form.description) }}
|
||||
{{ form_row(form.url) }}
|
||||
@@ -59,7 +59,7 @@
|
||||
(function () {
|
||||
const locationSelect = document.querySelector('select.js-location-choice');
|
||||
const organizationSelect = document.querySelector('select.js-organization-choice');
|
||||
const typeSelect = document.querySelector('select.js-event-type-choice');
|
||||
const typeSelect = document.querySelector('select.js-event-tags-choice');
|
||||
|
||||
if (organizationSelect && typeof window.Choices === 'function') {
|
||||
new window.Choices(organizationSelect, {
|
||||
|
||||
@@ -25,7 +25,7 @@
|
||||
|
||||
<script>
|
||||
(function () {
|
||||
const typeSelect = document.querySelector('select.js-organization-type-choice');
|
||||
const typeSelect = document.querySelector('select.js-organization-tags-choice');
|
||||
|
||||
if (typeSelect && typeof window.Choices === 'function') {
|
||||
new window.Choices(typeSelect, {
|
||||
|
||||
Reference in New Issue
Block a user