I'm unable to get custom fields to output using Solspace Calendar on Craft3. I am not getting any errors indicating that the field does not exist, it's just not outputting. The field is a Redactor type.

{% set event = craft.calendar.event(segment2, {targetDate: occurrenceDate}) %}

{% if event %}
<div class="row">
    <div class="col-sm-12 col-md-9">
        <h2>{{ event.title }}</h2> {# THIS OUTPUTS #}
        {{ event.eventDescription }} {# THIS CUSTOM FIELD DOES NOT OUTPUT AND THERE ARE NO ERRORS #}
{% endif %}

UPDATE: I tried using the field handles that are in the Solspace Calendar templates (location and description), but neither of those output:

{% if event['location'] is defined %}
            {{ event.location }}
{% endif %}

enter image description here


This is a known issue and will be resolved in Beta 4 coming out today (March 15, 2018). Sorry for the trouble.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.