Hi, I'm having problems with my schedule logic. The problem that I'm trying to solve is if I select an existing event, a custom quick view appears, but if I don't have an event a custom, popupOpen shows on the screen.
The problem is that having both quickInfoTemplates and popupOpen always shows the popup and ignores the quickInfo. So I want a condition to decide which view to display, if is an empty event or an existing event.
<ScheduleComponent ref={schedule => setScheduleObj(schedule)} id='schedule' cssClass='schedule-header-bar'
quickInfoOnSelectionEnd="true" quickInfoTemplates={{
header: headerTemplate.bind(this),
content: contentTemplate.bind(this),
footer: footerTemplate.bind(this)
}} popupOpen={onPopupOpen.bind(this)} locale='es-MX' height='' className="schedule-dashboard" currentView="Day"
eventSettings={{ dataSource: eventsState }} workHours={{highlight: true, start: '6:00', end: '23:00'}} >
<ViewsDirective>
<ViewDirective option="Day" displayName="Día" eventTemplate={agendaEventTemplate.bind(this)}></ViewDirective>
</ViewsDirective>
<Inject services={[Day]}/>
</ScheduleComponent>